pub struct FifoSamplesStatus {
pub threshold: bool,
pub overrun: bool,
pub samples: u8,
}Expand description
FIFO Samples Status
Fields§
§threshold: boolFIFO threshold status
false: FIFO filling is lower than the threshold level
true: FIFO filling is equal or higher than the threshold level
overrun: boolFIFO overrun status
false: FIFO is not overrun
true: FIFO is overrun
samples: u8Number of unread samples in FIFO
Trait Implementations§
source§impl Clone for FifoSamplesStatus
impl Clone for FifoSamplesStatus
source§fn clone(&self) -> FifoSamplesStatus
fn clone(&self) -> FifoSamplesStatus
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for FifoSamplesStatus
impl Debug for FifoSamplesStatus
source§impl From<u8> for FifoSamplesStatus
impl From<u8> for FifoSamplesStatus
impl Copy for FifoSamplesStatus
Auto Trait Implementations§
impl Freeze for FifoSamplesStatus
impl RefUnwindSafe for FifoSamplesStatus
impl Send for FifoSamplesStatus
impl Sync for FifoSamplesStatus
impl Unpin for FifoSamplesStatus
impl UnwindSafe for FifoSamplesStatus
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)