PlatformHotkeyConfiguration
struct · ferroui-base · v0.5.0
struct PlatformHotkeyConfiguration
The key gestures of the platform for common editing and navigation commands.
Members
command_modifierswhole_word_text_action_modifiersselection_modifierscopycutpasteundoredoselect_allmove_cursor_to_the_start_of_linemove_cursor_to_the_end_of_linemove_cursor_to_the_start_of_documentmove_cursor_to_the_end_of_documentmove_cursor_to_the_start_of_line_with_selectionmove_cursor_to_the_end_of_line_with_selectionmove_cursor_to_the_start_of_document_with_selectionmove_cursor_to_the_end_of_document_with_selectionopen_context_menubackpage_uppage_downpage_rightpage_leftnewwith_modifiers
command_modifiers
command_modifiers: crate::input::KeyModifiers
whole_word_text_action_modifiers
whole_word_text_action_modifiers: crate::input::KeyModifiers
selection_modifiers
selection_modifiers: crate::input::KeyModifiers
copy
copy: Vec<crate::input::KeyGesture>
cut
cut: Vec<crate::input::KeyGesture>
paste
paste: Vec<crate::input::KeyGesture>
undo
undo: Vec<crate::input::KeyGesture>
redo
redo: Vec<crate::input::KeyGesture>
select_all
select_all: Vec<crate::input::KeyGesture>
move_cursor_to_the_start_of_line
move_cursor_to_the_start_of_line: Vec<crate::input::KeyGesture>
move_cursor_to_the_end_of_line
move_cursor_to_the_end_of_line: Vec<crate::input::KeyGesture>
move_cursor_to_the_start_of_document
move_cursor_to_the_start_of_document: Vec<crate::input::KeyGesture>
move_cursor_to_the_end_of_document
move_cursor_to_the_end_of_document: Vec<crate::input::KeyGesture>
move_cursor_to_the_start_of_line_with_selection
move_cursor_to_the_start_of_line_with_selection: Vec<crate::input::KeyGesture>
move_cursor_to_the_end_of_line_with_selection
move_cursor_to_the_end_of_line_with_selection: Vec<crate::input::KeyGesture>
move_cursor_to_the_start_of_document_with_selection
move_cursor_to_the_start_of_document_with_selection: Vec<crate::input::KeyGesture>
move_cursor_to_the_end_of_document_with_selection
move_cursor_to_the_end_of_document_with_selection: Vec<crate::input::KeyGesture>
open_context_menu
open_context_menu: Vec<crate::input::KeyGesture>
back
back: Vec<crate::input::KeyGesture>
page_up
page_up: Vec<crate::input::KeyGesture>
page_down
page_down: Vec<crate::input::KeyGesture>
page_right
page_right: Vec<crate::input::KeyGesture>
page_left
page_left: Vec<crate::input::KeyGesture>
new
fn new(command_modifiers: KeyModifiers) -> Self
Creates a configuration for the given command modifiers, with Shift as the selection modifier and Control as the whole-word modifier.
with_modifiers
fn with_modifiers(command_modifiers: KeyModifiers, selection_modifiers: KeyModifiers, whole_word_text_action_modifiers: KeyModifiers) -> Self
Creates a configuration for the given modifiers.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.