CancelRoutedEventArgs
struct · ferroui-base · v0.5.0
struct CancelRoutedEventArgs
Provides state information and data specific to a cancelable routed event.
Members
new
fn new() -> Self
Creates args with no routed event.
with_event
fn with_event<T: ?Sized>(routed_event: &RoutedEvent<T>) -> Self
Creates args for a routed event.
with_event_and_source
fn with_event_and_source<T: ?Sized>(routed_event: &RoutedEvent<T>, source: impl Into<Nullable<FerroObject>>) -> Self
Creates args for a routed event with a source.
cancel
fn cancel(self: &Self) -> bool
Whether the routed event should be canceled.
set_cancel
fn set_cancel(self: &Self, value: bool)
Sets whether the routed event should be canceled.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedErasedDestructorIntoEitherCloneDefaultDerefIRoutedEventArgs
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.