Struct Playback Progress
pub struct PlaybackProgress {
pub source_frames: usize,
pub loop_wraps: usize,
pub ended: bool,
}Expand description
Progress counts source frames; paused/end silence does not advance position.
Fields§
§source_frames: usize§loop_wraps: usizeNumber of end-to-start loop transitions in this render, including one after the final copied frame. A one-frame loop may wrap once per frame.
ended: boolTrait Implementations§
§impl Clone for PlaybackProgress
impl Clone for PlaybackProgress
§fn clone(&self) -> PlaybackProgress
fn clone(&self) -> PlaybackProgress
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 PlaybackProgress
§impl Debug for PlaybackProgress
impl Debug for PlaybackProgress
§impl Default for PlaybackProgress
impl Default for PlaybackProgress
§fn default() -> PlaybackProgress
fn default() -> PlaybackProgress
Returns the “default value” for a type. Read more
impl Eq for PlaybackProgress
§impl PartialEq for PlaybackProgress
impl PartialEq for PlaybackProgress
impl StructuralPartialEq for PlaybackProgress
Auto Trait Implementations§
impl Freeze for PlaybackProgress
impl RefUnwindSafe for PlaybackProgress
impl Send for PlaybackProgress
impl Sync for PlaybackProgress
impl Unpin for PlaybackProgress
impl UnsafeUnpin for PlaybackProgress
impl UnwindSafe for PlaybackProgress
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