pub struct FifoStatus {
pub watermark_exceeded: bool,
pub full: bool,
pub empty: bool,
pub sample_count: u8,
}Expand description
FIFO status data
Fields§
§watermark_exceeded: boolFIFO content exceeds watermark level
full: boolFIFO is full
empty: boolFIFO is empty
sample_count: u8Current number of unread samples in the FIFO buffer
Trait Implementations§
Source§impl Clone for FifoStatus
impl Clone for FifoStatus
Source§fn clone(&self) -> FifoStatus
fn clone(&self) -> FifoStatus
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FifoStatus
Auto Trait Implementations§
impl Freeze for FifoStatus
impl RefUnwindSafe for FifoStatus
impl Send for FifoStatus
impl Sync for FifoStatus
impl Unpin for FifoStatus
impl UnwindSafe for FifoStatus
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)