FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PagedChangeSet

    struct · ferroui-dynamic-data · v0.5.0

    struct PagedChangeSet<T, K>
    

    The changes of one page of a sorted cache, with the items of the page in order and the page (PagedChangeSet<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>, response: PageResponse) -> Self
    

    The changes updates of the page response, which holds sorted_items (PagedChangeSet(IKeyValueCollection, IEnumerable<Change>, IPageResponse)).

    Source

    empty

    fn empty() -> Self
    

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

    Source

    sorted_items

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

    The items of the page, sorted (SortedItems).

    Source

    response

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

    The page (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.