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