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