pub struct KeysLibrary {
pub load_track: KeyBinding,
pub load_dir: KeyBinding,
pub delete: KeyBinding,
pub yank: KeyBinding,
pub paste: KeyBinding,
pub cycle_root: KeyBinding,
pub add_root: KeyBinding,
pub remove_root: KeyBinding,
pub search: KeyBinding,
pub youtube_search: KeyBinding,
pub open_tag_editor: KeyBinding,
}Fields§
§load_track: KeyBindingKey to load the currently selected track (only if on a file node)
load_dir: KeyBindingKey to load the whole directory (only if on a directory node)
delete: KeyBindingKey to delete the currently selected node (which can be both a track or a directory)
yank: KeyBindingKey to start moving a node to another (requires “paste” to finish move)
paste: KeyBindingKey to finish moving a node (requires “yank” to start a move)
cycle_root: KeyBindingKey to cycle through the Music-Directories
add_root: KeyBindingKey to add the currently entered node as a music root
remove_root: KeyBindingKey to remove the currently entered node as music root
search: KeyBindingKey to open local search (root being the selected music_dir root)
youtube_search: KeyBindingKey to open youtube search
open_tag_editor: KeyBindingKey to open the tag editor on that node (only works for files)
Trait Implementations§
Source§impl Clone for KeysLibrary
impl Clone for KeysLibrary
Source§fn clone(&self) -> KeysLibrary
fn clone(&self) -> KeysLibrary
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 KeysLibrary
impl Debug for KeysLibrary
Source§impl Default for KeysLibrary
impl Default for KeysLibrary
Source§impl<'de> Deserialize<'de> for KeysLibrarywhere
KeysLibrary: Default,
impl<'de> Deserialize<'de> for KeysLibrarywhere
KeysLibrary: Default,
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
Source§impl PartialEq for KeysLibrary
impl PartialEq for KeysLibrary
Source§impl Serialize for KeysLibrary
impl Serialize for KeysLibrary
impl StructuralPartialEq for KeysLibrary
Auto Trait Implementations§
impl Freeze for KeysLibrary
impl RefUnwindSafe for KeysLibrary
impl Send for KeysLibrary
impl Sync for KeysLibrary
impl Unpin for KeysLibrary
impl UnwindSafe for KeysLibrary
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().