#[repr(transparent)]pub struct Keyenable(pub u32);Expand description
Key Enable
Tuple Fields§
§0: u32Implementations§
Source§impl Keyenable
impl Keyenable
Sourcepub const fn key0(&self) -> KeyenableKey0
pub const fn key0(&self) -> KeyenableKey0
Key 0
Sourcepub const fn set_key0(&mut self, val: KeyenableKey0)
pub const fn set_key0(&mut self, val: KeyenableKey0)
Key 0
Sourcepub const fn key1(&self) -> KeyenableKey1
pub const fn key1(&self) -> KeyenableKey1
Key 1
Sourcepub const fn set_key1(&mut self, val: KeyenableKey1)
pub const fn set_key1(&mut self, val: KeyenableKey1)
Key 1
Sourcepub const fn key2(&self) -> KeyenableKey2
pub const fn key2(&self) -> KeyenableKey2
Key 2
Sourcepub const fn set_key2(&mut self, val: KeyenableKey2)
pub const fn set_key2(&mut self, val: KeyenableKey2)
Key 2
Sourcepub const fn key3(&self) -> KeyenableKey3
pub const fn key3(&self) -> KeyenableKey3
Key 3
Sourcepub const fn set_key3(&mut self, val: KeyenableKey3)
pub const fn set_key3(&mut self, val: KeyenableKey3)
Key 3
Trait Implementations§
impl Copy for Keyenable
impl Eq for Keyenable
impl StructuralPartialEq for Keyenable
Auto Trait Implementations§
impl Freeze for Keyenable
impl RefUnwindSafe for Keyenable
impl Send for Keyenable
impl Sync for Keyenable
impl Unpin for Keyenable
impl UnwindSafe for Keyenable
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