pub(crate) enum MpvIpcCommand {
Command(Vec<String>),
GetProperty(String),
SetProperty(String, Value),
ObserveProperty(usize, String),
UnobserveProperty(usize),
Exit,
}
Expand description
Commands that can be sent to MpvIpc
Variants§
Command(Vec<String>)
GetProperty(String)
SetProperty(String, Value)
ObserveProperty(usize, String)
UnobserveProperty(usize)
Exit
Trait Implementations§
Source§impl Clone for MpvIpcCommand
impl Clone for MpvIpcCommand
Source§fn clone(&self) -> MpvIpcCommand
fn clone(&self) -> MpvIpcCommand
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MpvIpcCommand
impl Debug for MpvIpcCommand
Source§impl PartialEq for MpvIpcCommand
impl PartialEq for MpvIpcCommand
impl Eq for MpvIpcCommand
impl StructuralPartialEq for MpvIpcCommand
Auto Trait Implementations§
impl Freeze for MpvIpcCommand
impl RefUnwindSafe for MpvIpcCommand
impl Send for MpvIpcCommand
impl Sync for MpvIpcCommand
impl Unpin for MpvIpcCommand
impl UnwindSafe for MpvIpcCommand
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