InfoBarClosingEventArgs
struct · ferroui-controls · v0.5.0
struct InfoBarClosingEventArgs
The arguments of InfoBar::closing (WinUI's InfoBarClosingEventArgs). A handler cancels the
closing with set_cancel; the clones of the arguments given to the
handlers of markup share the cancellation.
Members
reason
fn reason(self: &Self) -> InfoBarCloseReason
Why the bar closes.
cancel
fn cancel(self: &Self) -> bool
Whether a handler cancelled the closing.
set_cancel
fn set_cancel(self: &Self, value: bool)
Cancels the closing (true) or lets it happen (false).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqEqMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.