#[repr(u8)]pub enum Mask {
Disabled = 0,
Enabled = 1,
}
Expand description
Mask/write mode.
Variants§
Disabled = 0
Mask is disabled, enabling the len
field for access length.
Enabled = 1
Mask is enabled, fixing the len
field for access length to 1-byte.
Implementations§
Trait Implementations§
impl Copy for Mask
impl Eq for Mask
impl StructuralPartialEq for Mask
Auto Trait Implementations§
impl Freeze for Mask
impl RefUnwindSafe for Mask
impl Send for Mask
impl Sync for Mask
impl Unpin for Mask
impl UnwindSafe for Mask
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