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.
Members
new
fn new(key: &str) -> Self
Creates args for the given (normalized) access key.
target
fn target(self: &Self) -> Option<crate::Ref<super::InputElement>>
The target for the access key.
set_target
fn set_target(self: &Self, value: Option<crate::Ref<super::InputElement>>)
Sets the target for the access key.
key
fn key(self: &Self) -> &str
The access key which was pressed.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedErasedDestructorIntoEitherCloneDerefIRoutedEventArgsMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.