FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CollectionChanged

    struct · ferroui-reactiveui · v0.5.0

    struct CollectionChanged<S>
    

    One CollectionChanged notification of a collection, with the collection that raised it (CollectionChanged): the element of observe_collection_changes.

    Deviation (DEVIATIONS.md, ReactiveUI): upstream's sender is an object and its arguments are the NotifyCollectionChangedEventArgs object, both compared by reference. The sender here is the handle of the collection, of its own type, and the arguments are the untyped description of the change that INotifyCollectionChanged raises in ferroui-system (CollectionChange), compared by value.

    View source

    Members

    new

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

    A notification of sender (CollectionChanged(object?, NotifyCollectionChangedEventArgs)).

    Source

    sender

    fn sender(self: &Self) -> &S
    

    The collection that raised the event (Sender).

    Source

    event_args

    fn event_args(self: &Self) -> &CollectionChange
    

    The description of the change (EventArgs).

    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
    • PartialEq

    Availability

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