DrawerClosingEventArgs
struct · ferroui-controls · v0.5.0
struct DrawerClosingEventArgs
Provides data for the Closing routed event of the drawer page.
The cancel flag is shared: a clone is another handle to the same args.
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 the routed event associated with these event data.
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 closing should be cancelled.
set_cancel
fn set_cancel(self: &Self, value: bool)
Sets whether the closing should be cancelled.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedClassDefaultsErasedDestructorIntoEitherCloneDefaultDerefIRoutedEventArgs
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.