Identifier of an input device.
Whenever you receive an event arising from a particular input device, this event contains a
identifies its origin. Note that devices may be virtual (representing an on-screen cursor and keyboard focus) or
physical. Virtual devices typically aggregate inputs from multiple physical devices.
Returns a dummy
DeviceId, useful for unit testing. The only guarantee made about the return
value of this function is that it will always be equal to itself and to future values returned
by this function. No other guarantees are made. This may be equal to a real
Passing this into a winit function will result in undefined behavior.
fn hash_slice<H>(data: &[Self], state: &mut H) where1.3.0[src]
impl PartialOrd<DeviceId> for DeviceId[src]
fn partial_cmp(&self, other: &DeviceId) -> Option<Ordering>[src]
impl StructuralEq for DeviceId[src]
impl StructuralPartialEq for DeviceId[src]
Auto Trait Implementations
impl RefUnwindSafe for DeviceId
impl UnwindSafe for DeviceId
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.