Struct nannou::ui::backend::glium::glium::backend::glutin::glutin::DeviceId [−]
pub struct DeviceId(_);
Identifier of an input device.
Whenever you receive an event arising from a particular input device, this event contains a DeviceId
which
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.
Trait Implementations
impl PartialOrd<DeviceId> for DeviceId
impl PartialOrd<DeviceId> for DeviceId
fn partial_cmp(&self, other: &DeviceId) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceId) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &DeviceId) -> bool
fn lt(&self, other: &DeviceId) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &DeviceId) -> bool
fn le(&self, other: &DeviceId) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &DeviceId) -> bool
fn gt(&self, other: &DeviceId) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &DeviceId) -> bool
fn ge(&self, other: &DeviceId) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Hash for DeviceId
impl Hash for DeviceId
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for DeviceId
impl Clone for DeviceId
fn clone(&self) -> DeviceId
fn clone(&self) -> DeviceId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for DeviceId
impl Debug for DeviceId
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for DeviceId
impl Copy for DeviceId
impl Ord for DeviceId
impl Ord for DeviceId
fn cmp(&self, other: &DeviceId) -> Ordering
fn cmp(&self, other: &DeviceId) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Eq for DeviceId
impl Eq for DeviceId
impl PartialEq<DeviceId> for DeviceId
impl PartialEq<DeviceId> for DeviceId