FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ProtocolActivatedEventArgs

    struct · ferroui-controls · v0.5.0

    struct ProtocolActivatedEventArgs
    

    The arguments of an activation in which the application is passed a URI to open. Convert them to ActivatedEventArgs to raise the event.

    View source

    Members

    new

    fn new(uri: Url) -> Self
    

    Creates the arguments with the URI the application was activated with.

    Source

    kind

    fn kind(self: &Self) -> ActivationKind
    

    The kind of activation: ActivationKind::OpenUri.

    Source

    uri

    fn uri(self: &Self) -> &Url
    

    The URI the application was activated with.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • From<ProtocolActivatedEventArgs>
    • Clone

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.