Struct pix_engine::event::ControllerId
source · pub struct ControllerId(/* private fields */);
Expand description
Controller
identifier used to reference attached controllers.
Methods from Deref<Target = u32>§
pub const MIN: u32 = 0u32
pub const MAX: u32 = 4_294_967_295u32
pub const BITS: u32 = 32u32
Trait Implementations§
source§impl Clone for ControllerId
impl Clone for ControllerId
source§fn clone(&self) -> ControllerId
fn clone(&self) -> ControllerId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ControllerId
impl Debug for ControllerId
source§impl Default for ControllerId
impl Default for ControllerId
source§fn default() -> ControllerId
fn default() -> ControllerId
Returns the “default value” for a type. Read more
source§impl Deref for ControllerId
impl Deref for ControllerId
source§impl DerefMut for ControllerId
impl DerefMut for ControllerId
source§impl<'de> Deserialize<'de> for ControllerId
impl<'de> Deserialize<'de> for ControllerId
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ControllerId
impl Display for ControllerId
source§impl Hash for ControllerId
impl Hash for ControllerId
source§impl Ord for ControllerId
impl Ord for ControllerId
source§fn cmp(&self, other: &ControllerId) -> Ordering
fn cmp(&self, other: &ControllerId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ControllerId
impl PartialEq for ControllerId
source§fn eq(&self, other: &ControllerId) -> bool
fn eq(&self, other: &ControllerId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ControllerId
impl PartialOrd for ControllerId
source§fn partial_cmp(&self, other: &ControllerId) -> Option<Ordering>
fn partial_cmp(&self, other: &ControllerId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ControllerId
impl Serialize for ControllerId
impl Copy for ControllerId
impl Eq for ControllerId
impl StructuralEq for ControllerId
impl StructuralPartialEq for ControllerId
Auto Trait Implementations§
impl RefUnwindSafe for ControllerId
impl Send for ControllerId
impl Sync for ControllerId
impl Unpin for ControllerId
impl UnwindSafe for ControllerId
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more