FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SortedChangeSet

    struct · ferroui-dynamic-data · v0.5.0

    struct SortedChangeSet<T, K>
    

    The changes of a sorted cache with its items in order (SortedChangeSet<TObject, TKey>).

    It dereferences to its ChangeSet, as upstream's derives from it.

    View source

    Members

    new

    fn new(sorted_items: KeyValueCollection<T, K>, updates: ChangeSet<T, K>) -> Self
    

    The changes updates that lead to sorted_items (SortedChangeSet(IKeyValueCollection, IEnumerable<Change>)).

    Source

    empty

    fn empty() -> Self
    

    A change set without changes or items (SortedChangeSet<TObject, TKey>.Empty).

    Source

    sorted_items

    fn sorted_items(self: &Self) -> &KeyValueCollection<T, K>
    

    The items, sorted (SortedItems).

    Source

    changes

    fn changes(self: &Self) -> &ChangeSet<T, K>
    

    The changes.

    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
    • ToString
    • Clone
    • Default
    • Deref
    • IntoIterator
    • IChangeSet<T, K>
    • ISortedChangeSet<T, K>
    • PartialEq
    • Display
    • Debug

    Availability

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