FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    GroupChangeSet

    struct · ferroui-dynamic-data · v0.5.0

    struct GroupChangeSet<T, K, G>
    

    The changes of the groups of a cache (IGroupChangeSet<TObject, TKey, TGroupKey>, a change set of IGroup<TObject, TKey, TGroupKey> keyed by the group key): the adds and removes of groups, whose items change through the cache of each group.

    It holds a plain change set of Groups, which Deref and IChangeSet give, so the operators of caches apply to a sequence of groups as upstream's do through the interface (docs/porting/reactive.md, section 5.4).

    View source

    Members

    empty

    fn empty() -> Self
    

    A change set without changes (GroupChangeSet<TObject, TKey, TGroupKey>.Empty).

    Source

    change_set

    fn change_set(self: &Self) -> &ChangeSet<Group<T, K, G>, G>
    

    The changes as a plain change set.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • Clone
    • Default
    • From<ChangeSet<Group<T, K, G>, G>>
    • From<Vec<Change<Group<T, K, G>, G>>>
    • Deref
    • IntoIterator
    • IChangeSet<Group<T, K, G>, G>
    • PartialEq
    • Debug

    Availability

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