Struct Threshold
#[repr(transparent)]pub struct Threshold(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl Threshold
impl Threshold
pub const NEEDONEBYTE: Self = _
pub const NEEDONEBYTE: Self = _
FTF is set if there are one or more free bytes available to be written to in the FIFO in Indirect-write mode, or if there are one or more valid bytes can be read from the FIFO in Indirect-read mode.
pub const NEEDTWOBYTES: Self = _
pub const NEEDTWOBYTES: Self = _
FTF is set if there are two or more free bytes available to be written to in the FIFO in Indirect‑write mode, or if there are two or more valid bytes can be read from the FIFO in Indirect-read mode.
pub const NEEDTHIRTYTWOBYTES: Self = _
pub const NEEDTHIRTYTWOBYTES: Self = _
FTF is set if there are 32 free bytes available to be written to in the FIFO in Indirect-write mode, or if there are 32 valid bytes can be read from the FIFO in Indirect-read mode.
Trait Implementations§
§impl Ord for Threshold
impl Ord for Threshold
§impl PartialOrd for Threshold
impl PartialOrd for Threshold
impl Copy for Threshold
impl Eq for Threshold
impl StructuralPartialEq for Threshold
Auto Trait Implementations§
impl Freeze for Threshold
impl RefUnwindSafe for Threshold
impl Send for Threshold
impl Sync for Threshold
impl Unpin for Threshold
impl UnwindSafe for Threshold
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)