#[repr(transparent)]pub struct Stat(pub u8);Expand description
Status.
Tuple Fields§
§0: u8Implementations§
Source§impl Stat
impl Stat
Sourcepub const fn odd(&self) -> bool
pub const fn odd(&self) -> bool
Odd Bank. Raw bit values: false (0) = NotInOddBank: Not in the odd bank.; true (1) = OddBank: In the odd bank.
Sourcepub const fn set_odd(&mut self, val: bool)
pub const fn set_odd(&mut self, val: bool)
Odd Bank. Raw bit values: false (0) = NotInOddBank: Not in the odd bank.; true (1) = OddBank: In the odd bank.
Sourcepub const fn tx(&self) -> bool
pub const fn tx(&self) -> bool
Transmit Indicator. Raw bit values: false (0) = RxTransaction: Receive.; true (1) = TxTransaction: Transmit.
Trait Implementations§
impl Copy for Stat
impl Eq for Stat
impl StructuralPartialEq for Stat
Auto Trait Implementations§
impl Freeze for Stat
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
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