pub enum PlayerCall {
Play,
Pause,
Seek(Duration, SeekTolerance),
SetRate(f64),
SetVolume(f64),
SetMuted(bool),
SetLooping(bool),
SetVideoOutput(Option<VideoOutputKind>),
SelectAudioTrack(String),
SelectTextTrack(Option<String>),
}Expand description
What a player was asked to do.
Variants§
Play
Pause
Seek(Duration, SeekTolerance)
SetRate(f64)
SetVolume(f64)
SetMuted(bool)
SetLooping(bool)
SetVideoOutput(Option<VideoOutputKind>)
What kind of output was given, or none.
SelectAudioTrack(String)
SelectTextTrack(Option<String>)
Trait Implementations§
Source§impl Clone for PlayerCall
impl Clone for PlayerCall
Source§impl Debug for PlayerCall
impl Debug for PlayerCall
Source§impl PartialEq for PlayerCall
impl PartialEq for PlayerCall
impl StructuralPartialEq for PlayerCall
Auto Trait Implementations§
impl Forget for PlayerCall
impl Freeze for PlayerCall
impl Move for PlayerCall
impl RefUnwindSafe for PlayerCall
impl Send for PlayerCallwhere
RawVecInner: Send,
impl Sync for PlayerCallwhere
RawVecInner: Sync,
impl Unpin for PlayerCall
impl UnsafeUnpin for PlayerCall
impl UnwindSafe for PlayerCallwhere
RawVecInner: UnwindSafe,
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