FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AccessKeyPressedEventArgs

    struct · ferroui-base · v0.5.0

    struct AccessKeyPressedEventArgs
    

    The inputs to an access key pressed event: raised on an element to ask which element an access key should target.

    View source

    Members

    new

    fn new(key: &str) -> Self
    

    Creates args for the given (normalized) access key.

    Source

    target

    fn target(self: &Self) -> Option<crate::Ref<super::InputElement>>
    

    The target for the access key.

    Source

    set_target

    fn set_target(self: &Self, value: Option<crate::Ref<super::InputElement>>)
    

    Sets the target for the access key.

    Source

    key

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

    The access key which was pressed.

    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.