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