pub struct Hotkey {Show 20 fields
pub up: Vec<Bind>,
pub down: Vec<Bind>,
pub left: Vec<Bind>,
pub right: Vec<Bind>,
pub play_pause: Vec<Bind>,
pub volume_up: Vec<Bind>,
pub volume_down: Vec<Bind>,
pub next: Vec<Bind>,
pub previous: Vec<Bind>,
pub seek_forward: Vec<Bind>,
pub seek_backward: Vec<Bind>,
pub clear: Vec<Bind>,
pub clear_except_playing: Vec<Bind>,
pub delete: Vec<Bind>,
pub search: Vec<Bind>,
pub options: Vec<Bind>,
pub random: Vec<Bind>,
pub change_mode: Vec<Bind>,
pub refresh_database: Vec<Bind>,
pub quit: Vec<Bind>,
}
Fields§
§up: Vec<Bind>
§down: Vec<Bind>
§left: Vec<Bind>
§right: Vec<Bind>
§play_pause: Vec<Bind>
§volume_up: Vec<Bind>
§volume_down: Vec<Bind>
§next: Vec<Bind>
§previous: Vec<Bind>
§seek_forward: Vec<Bind>
§seek_backward: Vec<Bind>
§clear: Vec<Bind>
§clear_except_playing: Vec<Bind>
§delete: Vec<Bind>
§search: Vec<Bind>
§options: Vec<Bind>
§random: Vec<Bind>
§change_mode: Vec<Bind>
§refresh_database: Vec<Bind>
§quit: Vec<Bind>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hotkey
impl<'de> Deserialize<'de> for Hotkey
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
Auto Trait Implementations§
impl Freeze for Hotkey
impl RefUnwindSafe for Hotkey
impl Send for Hotkey
impl Sync for Hotkey
impl Unpin for Hotkey
impl UnwindSafe for Hotkey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more