pub enum MediaKeyCode {
Show 13 variants
Play,
Pause,
PlayPause,
Reverse,
Stop,
FastForward,
Rewind,
TrackNext,
TrackPrevious,
Record,
LowerVolume,
RaiseVolume,
MuteVolume,
}Variants§
Play
Pause
PlayPause
Reverse
Stop
FastForward
Rewind
TrackNext
TrackPrevious
Record
LowerVolume
RaiseVolume
MuteVolume
Trait Implementations§
Source§impl Clone for MediaKeyCode
impl Clone for MediaKeyCode
Source§fn clone(&self) -> MediaKeyCode
fn clone(&self) -> MediaKeyCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MediaKeyCode
impl Debug for MediaKeyCode
Source§impl Hash for MediaKeyCode
impl Hash for MediaKeyCode
Source§impl PartialEq for MediaKeyCode
impl PartialEq for MediaKeyCode
Source§fn eq(&self, other: &MediaKeyCode) -> bool
fn eq(&self, other: &MediaKeyCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MediaKeyCode
impl Eq for MediaKeyCode
impl StructuralPartialEq for MediaKeyCode
Auto Trait Implementations§
impl Freeze for MediaKeyCode
impl RefUnwindSafe for MediaKeyCode
impl Send for MediaKeyCode
impl Sync for MediaKeyCode
impl Unpin for MediaKeyCode
impl UnsafeUnpin for MediaKeyCode
impl UnwindSafe for MediaKeyCode
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