pub enum MpvCommand {
Show 15 variants
LoadFile {
file: String,
option: PlaylistAddOptions,
},
LoadList {
file: String,
option: PlaylistAddOptions,
},
PlaylistClear,
PlaylistMove {
from: usize,
to: usize,
},
Observe {
id: isize,
property: String,
},
PlaylistNext,
PlaylistPrev,
PlaylistRemove(usize),
PlaylistShuffle,
Quit,
ScriptMessage(Vec<String>),
ScriptMessageTo {
target: String,
args: Vec<String>,
},
Seek {
seconds: f64,
option: SeekOptions,
},
Stop,
Unobserve(isize),
}
Variants§
LoadFile
LoadList
PlaylistClear
PlaylistMove
Observe
PlaylistNext
PlaylistPrev
PlaylistRemove(usize)
PlaylistShuffle
Quit
ScriptMessage(Vec<String>)
ScriptMessageTo
Seek
Stop
Unobserve(isize)
Auto Trait Implementations§
impl Freeze for MpvCommand
impl RefUnwindSafe for MpvCommand
impl Send for MpvCommand
impl Sync for MpvCommand
impl Unpin for MpvCommand
impl UnwindSafe for MpvCommand
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