Struct Read Ahead Progress
pub struct ReadAheadProgress {
pub read_frames: usize,
pub queued_frames: usize,
pub pending_frames: usize,
pub end_of_file: bool,
}Expand description
Progress from one bounded read-ahead pump. EOF means the reader is exhausted; pending and queued audio may still need playback after EOF becomes true. One bounded pump in queue-source coordinates at ReadAheadPump::sample_rate. Native readers count original frames; explicit converted sources count generated output frames and expose original input progress separately.
Fields§
§read_frames: usize§queued_frames: usize§pending_frames: usize§end_of_file: boolTrait Implementations§
§impl Clone for ReadAheadProgress
impl Clone for ReadAheadProgress
§fn clone(&self) -> ReadAheadProgress
fn clone(&self) -> ReadAheadProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReadAheadProgress
§impl Debug for ReadAheadProgress
impl Debug for ReadAheadProgress
§impl Default for ReadAheadProgress
impl Default for ReadAheadProgress
§fn default() -> ReadAheadProgress
fn default() -> ReadAheadProgress
Returns the “default value” for a type. Read more
impl Eq for ReadAheadProgress
§impl PartialEq for ReadAheadProgress
impl PartialEq for ReadAheadProgress
impl StructuralPartialEq for ReadAheadProgress
Auto Trait Implementations§
impl Freeze for ReadAheadProgress
impl RefUnwindSafe for ReadAheadProgress
impl Send for ReadAheadProgress
impl Sync for ReadAheadProgress
impl Unpin for ReadAheadProgress
impl UnsafeUnpin for ReadAheadProgress
impl UnwindSafe for ReadAheadProgress
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more