FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AccessKeyEventArgs

    struct · ferroui-base · v0.5.0

    struct AccessKeyEventArgs
    

    Information pertaining to when the access key associated with an element is pressed.

    View source

    Members

    new

    fn new(key: &str, is_multiple: bool) -> Self
    

    Creates args for an access key. is_multiple tells whether the key is not unique among the registered elements.

    Source

    key

    fn key(self: &Self) -> &str
    

    The key that was pressed which caused this event to fire.

    Source

    is_multiple

    fn is_multiple(self: &Self) -> bool
    

    Whether the key pressed is not unique among the registered elements.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Deref
    • IRoutedEventArgs
    • MarkupTyped

    Availability

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