Struct CracentampCtrlKey
#[repr(transparent)]pub struct CracentampCtrlKey(pub u16);
Tuple Fields§
§0: u16
Implementations§
§impl CracentampCtrlKey
impl CracentampCtrlKey
pub const KEY: CracentampCtrlKey = _
pub const KEY: CracentampCtrlKey = _
Write key value.
§impl CracentampCtrlKey
impl CracentampCtrlKey
pub const fn from_bits(val: u16) -> CracentampCtrlKey
pub const fn to_bits(self) -> u16
Trait Implementations§
§impl Clone for CracentampCtrlKey
impl Clone for CracentampCtrlKey
§fn clone(&self) -> CracentampCtrlKey
fn clone(&self) -> CracentampCtrlKey
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 more§impl From<u16> for CracentampCtrlKey
impl From<u16> for CracentampCtrlKey
§fn from(val: u16) -> CracentampCtrlKey
fn from(val: u16) -> CracentampCtrlKey
Converts to this type from the input type.
§impl Ord for CracentampCtrlKey
impl Ord for CracentampCtrlKey
§fn cmp(&self, other: &CracentampCtrlKey) -> Ordering
fn cmp(&self, other: &CracentampCtrlKey) -> 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
§impl PartialEq for CracentampCtrlKey
impl PartialEq for CracentampCtrlKey
§impl PartialOrd for CracentampCtrlKey
impl PartialOrd for CracentampCtrlKey
impl Copy for CracentampCtrlKey
impl Eq for CracentampCtrlKey
impl StructuralPartialEq for CracentampCtrlKey
Auto Trait Implementations§
impl Freeze for CracentampCtrlKey
impl RefUnwindSafe for CracentampCtrlKey
impl Send for CracentampCtrlKey
impl Sync for CracentampCtrlKey
impl Unpin for CracentampCtrlKey
impl UnwindSafe for CracentampCtrlKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)