FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AccessKeyRegistration

    struct · ferroui-base · v0.5.0

    struct AccessKeyRegistration
    

    An access key registered for an element.

    View source

    Members

    new

    fn new(key: String, target: WeakRef<InputElement>) -> Self
    

    Creates a registration.

    Source

    key

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

    The (normalized) access key.

    Source

    get_input_element

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

    The registered element, if it is still alive.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither

    Availability

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