FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PlatformHotkeyConfiguration

    struct · ferroui-base · v0.5.0

    struct PlatformHotkeyConfiguration
    

    The key gestures of the platform for common editing and navigation commands.

    View source

    Members

    command_modifiers

    command_modifiers: crate::input::KeyModifiers
    

    Source

    whole_word_text_action_modifiers

    whole_word_text_action_modifiers: crate::input::KeyModifiers
    

    Source

    selection_modifiers

    selection_modifiers: crate::input::KeyModifiers
    

    Source

    copy

    copy: Vec<crate::input::KeyGesture>
    

    Source

    cut

    cut: Vec<crate::input::KeyGesture>
    

    Source

    paste

    paste: Vec<crate::input::KeyGesture>
    

    Source

    undo

    undo: Vec<crate::input::KeyGesture>
    

    Source

    redo

    redo: Vec<crate::input::KeyGesture>
    

    Source

    select_all

    select_all: Vec<crate::input::KeyGesture>
    

    Source

    move_cursor_to_the_start_of_line

    move_cursor_to_the_start_of_line: Vec<crate::input::KeyGesture>
    

    Source

    move_cursor_to_the_end_of_line

    move_cursor_to_the_end_of_line: Vec<crate::input::KeyGesture>
    

    Source

    move_cursor_to_the_start_of_document

    move_cursor_to_the_start_of_document: Vec<crate::input::KeyGesture>
    

    Source

    move_cursor_to_the_end_of_document

    move_cursor_to_the_end_of_document: Vec<crate::input::KeyGesture>
    

    Source

    move_cursor_to_the_start_of_line_with_selection

    move_cursor_to_the_start_of_line_with_selection: Vec<crate::input::KeyGesture>
    

    Source

    move_cursor_to_the_end_of_line_with_selection

    move_cursor_to_the_end_of_line_with_selection: Vec<crate::input::KeyGesture>
    

    Source

    move_cursor_to_the_start_of_document_with_selection

    move_cursor_to_the_start_of_document_with_selection: Vec<crate::input::KeyGesture>
    

    Source

    move_cursor_to_the_end_of_document_with_selection

    move_cursor_to_the_end_of_document_with_selection: Vec<crate::input::KeyGesture>
    

    Source

    open_context_menu

    open_context_menu: Vec<crate::input::KeyGesture>
    

    Source

    back

    back: Vec<crate::input::KeyGesture>
    

    Source

    page_up

    page_up: Vec<crate::input::KeyGesture>
    

    Source

    page_down

    page_down: Vec<crate::input::KeyGesture>
    

    Source

    page_right

    page_right: Vec<crate::input::KeyGesture>
    

    Source

    page_left

    page_left: Vec<crate::input::KeyGesture>
    

    Source

    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.

    Source

    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.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Default

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.