Struct termusiclib::config::Keys

source ·
pub struct Keys {
Show 67 fields pub global_esc: BindingForEvent, pub global_quit: BindingForEvent, pub global_left: BindingForEvent, pub global_down: BindingForEvent, pub global_up: BindingForEvent, pub global_right: BindingForEvent, pub global_goto_top: BindingForEvent, pub global_goto_bottom: BindingForEvent, pub global_player_toggle_pause: BindingForEvent, pub global_player_next: BindingForEvent, pub global_player_previous: BindingForEvent, pub global_player_volume_plus_1: BindingForEvent, pub global_player_volume_plus_2: BindingForEvent, pub global_player_volume_minus_1: BindingForEvent, pub global_player_volume_minus_2: BindingForEvent, pub global_help: BindingForEvent, pub global_player_seek_forward: BindingForEvent, pub global_player_seek_backward: BindingForEvent, pub global_lyric_adjust_forward: BindingForEvent, pub global_lyric_adjust_backward: BindingForEvent, pub global_player_speed_up: BindingForEvent, pub global_player_speed_down: BindingForEvent, pub global_lyric_cycle: BindingForEvent, pub global_layout_treeview: BindingForEvent, pub global_layout_database: BindingForEvent, pub global_player_toggle_gapless: BindingForEvent, pub global_config_open: BindingForEvent, pub global_save_playlist: BindingForEvent, pub global_layout_podcast: BindingForEvent, pub global_xywh_move_left: BindingForEvent, pub global_xywh_move_right: BindingForEvent, pub global_xywh_move_up: BindingForEvent, pub global_xywh_move_down: BindingForEvent, pub global_xywh_zoom_in: BindingForEvent, pub global_xywh_zoom_out: BindingForEvent, pub global_xywh_hide: BindingForEvent, pub library_load_dir: BindingForEvent, pub library_delete: BindingForEvent, pub library_yank: BindingForEvent, pub library_paste: BindingForEvent, pub library_search: BindingForEvent, pub library_search_youtube: BindingForEvent, pub library_tag_editor_open: BindingForEvent, pub library_switch_root: BindingForEvent, pub library_add_root: BindingForEvent, pub library_remove_root: BindingForEvent, pub playlist_delete: BindingForEvent, pub playlist_delete_all: BindingForEvent, pub playlist_shuffle: BindingForEvent, pub playlist_mode_cycle: BindingForEvent, pub playlist_play_selected: BindingForEvent, pub playlist_search: BindingForEvent, pub playlist_swap_down: BindingForEvent, pub playlist_swap_up: BindingForEvent, pub playlist_cmus_lqueue: BindingForEvent, pub playlist_cmus_tqueue: BindingForEvent, pub database_add_all: BindingForEvent, pub config_save: BindingForEvent, pub podcast_mark_played: BindingForEvent, pub podcast_mark_all_played: BindingForEvent, pub podcast_episode_download: BindingForEvent, pub podcast_episode_delete_file: BindingForEvent, pub podcast_delete_feed: BindingForEvent, pub podcast_delete_all_feeds: BindingForEvent, pub podcast_search_add_feed: BindingForEvent, pub podcast_refresh_feed: BindingForEvent, pub podcast_refresh_all_feeds: BindingForEvent,
}

Fields§

§global_esc: BindingForEvent§global_quit: BindingForEvent§global_left: BindingForEvent§global_down: BindingForEvent§global_up: BindingForEvent§global_right: BindingForEvent§global_goto_top: BindingForEvent§global_goto_bottom: BindingForEvent§global_player_toggle_pause: BindingForEvent§global_player_next: BindingForEvent§global_player_previous: BindingForEvent§global_player_volume_plus_1: BindingForEvent§global_player_volume_plus_2: BindingForEvent§global_player_volume_minus_1: BindingForEvent§global_player_volume_minus_2: BindingForEvent§global_help: BindingForEvent§global_player_seek_forward: BindingForEvent§global_player_seek_backward: BindingForEvent§global_lyric_adjust_forward: BindingForEvent§global_lyric_adjust_backward: BindingForEvent§global_player_speed_up: BindingForEvent§global_player_speed_down: BindingForEvent§global_lyric_cycle: BindingForEvent§global_layout_treeview: BindingForEvent§global_layout_database: BindingForEvent§global_player_toggle_gapless: BindingForEvent§global_config_open: BindingForEvent§global_save_playlist: BindingForEvent§global_layout_podcast: BindingForEvent§global_xywh_move_left: BindingForEvent§global_xywh_move_right: BindingForEvent§global_xywh_move_up: BindingForEvent§global_xywh_move_down: BindingForEvent§global_xywh_zoom_in: BindingForEvent§global_xywh_zoom_out: BindingForEvent§global_xywh_hide: BindingForEvent§library_load_dir: BindingForEvent§library_delete: BindingForEvent§library_yank: BindingForEvent§library_paste: BindingForEvent§library_search: BindingForEvent§library_search_youtube: BindingForEvent§library_tag_editor_open: BindingForEvent§library_switch_root: BindingForEvent§library_add_root: BindingForEvent§library_remove_root: BindingForEvent§playlist_delete: BindingForEvent§playlist_delete_all: BindingForEvent§playlist_shuffle: BindingForEvent§playlist_mode_cycle: BindingForEvent§playlist_play_selected: BindingForEvent§playlist_search: BindingForEvent§playlist_swap_down: BindingForEvent§playlist_swap_up: BindingForEvent§playlist_cmus_lqueue: BindingForEvent§playlist_cmus_tqueue: BindingForEvent§database_add_all: BindingForEvent§config_save: BindingForEvent§podcast_mark_played: BindingForEvent§podcast_mark_all_played: BindingForEvent§podcast_episode_download: BindingForEvent§podcast_episode_delete_file: BindingForEvent§podcast_delete_feed: BindingForEvent§podcast_delete_all_feeds: BindingForEvent§podcast_search_add_feed: BindingForEvent§podcast_refresh_feed: BindingForEvent§podcast_refresh_all_feeds: BindingForEvent

Implementations§

Trait Implementations§

source§

impl Clone for Keys

source§

fn clone(&self) -> Keys

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Keys

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Keys

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Keys

source§

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 Serialize for Keys

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Keys

§

impl RefUnwindSafe for Keys

§

impl Send for Keys

§

impl Sync for Keys

§

impl Unpin for Keys

§

impl UnwindSafe for Keys

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<R, P> ReadPrimitive<R> for P
where R: Read + ReadEndian<P>, P: Default,

source§

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().
source§

fn read_from_big_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
source§

fn read_from_native_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,