mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
9 lines
174 B
Rust
9 lines
174 B
Rust
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
|
pub struct DeviceId(pub i32);
|
|
|
|
impl DeviceId {
|
|
pub const fn dummy() -> Self {
|
|
Self(0)
|
|
}
|
|
}
|