FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    VirtualChangeSet

    struct · ferroui-dynamic-data · v0.5.0

    struct VirtualChangeSet<T, K>
    

    The changes of a window of a sorted cache, with the items of the window in order and the window (VirtualChangeSet<TObject, TKey>).

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

    View source

    Members

    new

    fn new(items: ChangeSet<T, K>, sorted_items: KeyValueCollection<T, K>, response: VirtualResponse) -> Self
    

    The changes items of the window response, which holds sorted_items (VirtualChangeSet(IEnumerable<Change>, IKeyValueCollection, IVirtualResponse)).

    Source

    empty

    fn empty() -> Self
    

    A change set without changes, of no window (VirtualChangeSet<TObject, TKey>.Empty).

    Source

    sorted_items

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

    The items of the window, sorted (SortedItems).

    Source

    response

    fn response(self: &Self) -> &VirtualResponse
    

    The window (Response).

    Source

    changes

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

    The changes.

    Source

    Trait implementations

    Availability

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