FileActivatedEventArgs
struct · ferroui-controls · v0.5.0
struct FileActivatedEventArgs
The arguments of an activation in which the application is passed one or
more files to open. Convert them to
ActivatedEventArgs to raise the event.
Members
new
fn new(files: Vec<Rc<dyn IStorageItem>>) -> Self
Creates the arguments with the files the application was activated with.
kind
fn kind(self: &Self) -> ActivationKind
The kind of activation: ActivationKind::File.
files
fn files(self: &Self) -> &[Rc<dyn IStorageItem>]
The files the application was activated with.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClassDefaultsErasedDestructorIntoEitherFrom<FileActivatedEventArgs>Clone
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.