FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    NavigationDirection

    enum · ferroui-base · v0.5.0

    enum NavigationDirection
    

    Describes how focus should be moved by directional or tab keys.

    View source

    Members

    Next

    Next
    

    Move the focus to the next control in the tab order.

    Source

    Previous

    Previous
    

    Move the focus to the previous control in the tab order.

    Source

    First

    First
    

    Move the focus to the first control in the tab order.

    Source

    Last

    Last
    

    Move the focus to the last control in the tab order.

    Source

    Left

    Left
    

    Move the focus to the left.

    Source

    Right

    Right
    

    Move the focus to the right.

    Source

    Up

    Up
    

    Move the focus up.

    Source

    Down

    Down
    

    Move the focus down.

    Source

    PageUp

    PageUp
    

    Move the focus up a page.

    Source

    PageDown

    PageDown
    

    Move the focus down a page.

    Source

    is_tab

    fn is_tab(self: Self) -> bool
    

    Checks whether a navigation direction is a tab movement.

    Source

    is_directional

    fn is_directional(self: Self) -> bool
    

    Checks whether a navigation direction is a directional movement.

    Source

    Trait implementations

    Availability

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