pub struct ButtonId(pub u32);Expand description
Identifier for a specific button on some device.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Ord for ButtonId
impl Ord for ButtonId
1.21.0 (const: unstable) · 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 PartialOrd for ButtonId
impl PartialOrd for ButtonId
impl Copy for ButtonId
impl Eq for ButtonId
impl StructuralPartialEq for ButtonId
Auto Trait Implementations§
impl Freeze for ButtonId
impl RefUnwindSafe for ButtonId
impl Send for ButtonId
impl Sync for ButtonId
impl Unpin for ButtonId
impl UnsafeUnpin for ButtonId
impl UnwindSafe for ButtonId
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