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.
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)).
empty
fn empty() -> Self
A change set without changes, of no window (VirtualChangeSet<TObject, TKey>.Empty).
sorted_items
fn sorted_items(self: &Self) -> &KeyValueCollection<T, K>
The items of the window, sorted (SortedItems).
response
fn response(self: &Self) -> &VirtualResponse
The window (Response).
changes
fn changes(self: &Self) -> &ChangeSet<T, K>
The changes.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedToStringCloneDefaultDerefIntoIteratorIChangeSet<T, K>ISortedChangeSet<T, K>IVirtualChangeSet<T, K>PartialEqDisplayDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.