ActivatedEventArgs
struct · ferroui-controls · v0.5.0
struct ActivatedEventArgs
Event arguments for the activated and deactivated events of an activatable lifetime.
The arguments of the more specific activations are reached through the
as_* methods.
Members
new
fn new(kind: ActivationKind) -> Self
Creates the arguments of an activation of the given kind.
kind
fn kind(self: &Self) -> ActivationKind
The kind of activation.
as_protocol_activated
fn as_protocol_activated(self: &Self) -> Option<&ProtocolActivatedEventArgs>
The arguments as those of a protocol activation, if that is what they are.
as_file_activated
fn as_file_activated(self: &Self) -> Option<&FileActivatedEventArgs>
The arguments as those of a file activation, if that is what they are.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClassDefaultsErasedDestructorIntoEitherCloneFrom<ProtocolActivatedEventArgs>From<FileActivatedEventArgs>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.