api: remove ::dummy from Id types

`::dummy` was used for testing purposes and became redundant after
adding e.g. `from_raw` and `into_raw` methods on `Id` types.
This commit is contained in:
daxpedda
2024-09-29 15:49:45 +02:00
committed by GitHub
parent 6e1b9fa24d
commit 32cd1ad9a7
35 changed files with 219 additions and 352 deletions

View File

@@ -944,10 +944,6 @@ impl Inner {
pub struct WindowId(usize);
impl WindowId {
pub const fn dummy() -> Self {
WindowId(0)
}
pub const fn into_raw(self) -> u64 {
self.0 as _
}