#[repr(transparent)]pub struct NidenCtrlKey(pub u16);
Tuple Fields§
§0: u16
Implementations§
Source§impl NidenCtrlKey
impl NidenCtrlKey
Sourcepub const KEY: NidenCtrlKey = _
pub const KEY: NidenCtrlKey = _
Write key value.
Source§impl NidenCtrlKey
impl NidenCtrlKey
Trait Implementations§
Source§impl Clone for NidenCtrlKey
impl Clone for NidenCtrlKey
Source§fn clone(&self) -> NidenCtrlKey
fn clone(&self) -> NidenCtrlKey
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 NidenCtrlKey
impl Debug for NidenCtrlKey
Source§impl From<u16> for NidenCtrlKey
impl From<u16> for NidenCtrlKey
Source§fn from(val: u16) -> NidenCtrlKey
fn from(val: u16) -> NidenCtrlKey
Converts to this type from the input type.
Source§impl Ord for NidenCtrlKey
impl Ord for NidenCtrlKey
Source§fn cmp(&self, other: &NidenCtrlKey) -> Ordering
fn cmp(&self, other: &NidenCtrlKey) -> 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 NidenCtrlKey
impl PartialEq for NidenCtrlKey
Source§impl PartialOrd for NidenCtrlKey
impl PartialOrd for NidenCtrlKey
impl Copy for NidenCtrlKey
impl Eq for NidenCtrlKey
impl StructuralPartialEq for NidenCtrlKey
Auto Trait Implementations§
impl Freeze for NidenCtrlKey
impl RefUnwindSafe for NidenCtrlKey
impl Send for NidenCtrlKey
impl Sync for NidenCtrlKey
impl Unpin for NidenCtrlKey
impl UnwindSafe for NidenCtrlKey
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