#[repr(C)]pub union Flags {
pub raw: u8,
pub write: WriteFlags,
pub reset: ResetFlags,
}Expand description
Per-command flags occupying addr byte 3.
Each command can define its own bitflags type as a union variant.
All variants are u8 so the union is always 1 byte.
Fields§
§raw: u8Raw byte access.
write: WriteFlagsCmd::Write flags.
reset: ResetFlagsCmd::Reset flags.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Flags
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnsafeUnpin for Flags
impl UnwindSafe for Flags
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