pub enum MediaOp {
Open,
Play,
Pause,
Seek,
SetVolume,
SetMuted,
}Expand description
A standard media command on an application player.
Variants§
Implementations§
Trait Implementations§
impl Copy for MediaOp
Source§impl<'de> Deserialize<'de> for MediaOp
impl<'de> Deserialize<'de> for MediaOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MediaOp
impl StructuralPartialEq for MediaOp
Auto Trait Implementations§
impl Freeze for MediaOp
impl RefUnwindSafe for MediaOp
impl Send for MediaOp
impl Sync for MediaOp
impl Unpin for MediaOp
impl UnsafeUnpin for MediaOp
impl UnwindSafe for MediaOp
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