pub enum Media {
Show 14 variants
Zero = 0,
Play = 176,
MPause = 177,
Record = 178,
NextTrack = 181,
PrevTrack = 182,
MStop = 183,
RandomPlay = 185,
Repeat = 188,
PlayPause = 205,
MMute = 226,
VolumeIncrement = 233,
VolumeDecrement = 234,
Reserved = 235,
}
Expand description
Represents media key
which is used for media control.
These keys are sent using a different descriptor than normal keys.
Variants§
Zero = 0
Play = 176
MPause = 177
Record = 178
NextTrack = 181
PrevTrack = 182
MStop = 183
RandomPlay = 185
Repeat = 188
PlayPause = 205
MMute = 226
VolumeIncrement = 233
VolumeDecrement = 234
Reserved = 235
Trait Implementations§
Source§impl IntoEnumIterator for Media
impl IntoEnumIterator for Media
impl Copy for Media
impl Eq for Media
impl StructuralPartialEq for Media
Auto Trait Implementations§
impl Freeze for Media
impl RefUnwindSafe for Media
impl Send for Media
impl Sync for Media
impl Unpin for Media
impl UnwindSafe for Media
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