FocusChangedEventArgs
struct · ferroui-base · v0.5.0
struct FocusChangedEventArgs
Holds arguments for the GotFocus and LostFocus events.
Members
new_focused_element
new_focused_element: Option<crate::Ref<super::InputElement>>
The element that focus has moved to.
old_focused_element
old_focused_element: Option<crate::Ref<super::InputElement>>
The element that previously had focus.
navigation_method
navigation_method: super::NavigationMethod
Indicates how the change in focus occurred.
key_modifiers
key_modifiers: super::KeyModifiers
Any key modifiers active at the time of focus.
new
fn new<T: ?Sized>(routed_event: &RoutedEvent<T>) -> Self
Creates args for a routed event.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedErasedDestructorIntoEitherCloneDerefIRoutedEventArgsIKeyModifiersEventArgsMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.