FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    EventPattern

    struct · ferroui-reactive · v0.5.0

    struct EventPattern<S, A>
    

    The sender and the arguments of an event (EventPattern<TSender, TEventArgs> and IEventPattern<TSender, TEventArgs>). Two patterns are equal when their senders and their arguments are.

    View source

    Members

    sender

    sender: S
    

    The sender of the event (Sender).

    Source

    event_args

    event_args: A
    

    The arguments of the event (EventArgs).

    Source

    new

    fn new(sender: S, event_args: A) -> Self
    

    The pattern of an event of sender with event_args (EventPattern(TSender, TEventArgs)).

    Source

    into_parts

    fn into_parts(self: Self) -> (S, A)
    

    The sender and the arguments (Deconstruct).

    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
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash
    • Default
    • EventPatternValue

    Availability

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