pub enum PlaybackMaster {
Unavailable,
Wall,
AudioPriming,
Audio,
}Expand description
Which source currently defines the pipeline’s media position.
Variants§
No timestamped stream has established a position yet.
Wall
Media position advances from the pipeline’s pause-aware wall clock.
AudioPriming
An audio renderer owns the clock but has not started the endpoint yet.
Audio
An audio endpoint’s played-sample position is the master clock.
Trait Implementations§
Source§impl Clone for PlaybackMaster
impl Clone for PlaybackMaster
Source§fn clone(&self) -> PlaybackMaster
fn clone(&self) -> PlaybackMaster
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlaybackMaster
Source§impl Debug for PlaybackMaster
impl Debug for PlaybackMaster
impl Eq for PlaybackMaster
Source§impl PartialEq for PlaybackMaster
impl PartialEq for PlaybackMaster
impl StructuralPartialEq for PlaybackMaster
Auto Trait Implementations§
impl Freeze for PlaybackMaster
impl RefUnwindSafe for PlaybackMaster
impl Send for PlaybackMaster
impl Sync for PlaybackMaster
impl Unpin for PlaybackMaster
impl UnsafeUnpin for PlaybackMaster
impl UnwindSafe for PlaybackMaster
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