pub struct DeviceSample {
pub chunks: u64,
pub level: usize,
pub chunk: usize,
pub pushed: u64,
pub plays_at: Option<i64>,
}Expand description
The buffer’s fill right after one of the device’s chunks.
Fields§
§chunks: u64Counts the device’s chunks, telling a new sample from the last.
level: usize§chunk: usize§pushed: u64Frames pushed by then, so the oldest held is frame pushed - level.
plays_at: Option<i64>When the oldest frame held plays, in monotonic nanoseconds, where the device says.
Trait Implementations§
Source§impl Clone for DeviceSample
impl Clone for DeviceSample
impl Copy for DeviceSample
Source§impl Debug for DeviceSample
impl Debug for DeviceSample
impl Eq for DeviceSample
Source§impl PartialEq for DeviceSample
impl PartialEq for DeviceSample
impl StructuralPartialEq for DeviceSample
Auto Trait Implementations§
impl Freeze for DeviceSample
impl RefUnwindSafe for DeviceSample
impl Send for DeviceSample
impl Sync for DeviceSample
impl Unpin for DeviceSample
impl UnsafeUnpin for DeviceSample
impl UnwindSafe for DeviceSample
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