ChangeSetWithContext
struct · ferroui-dynamic-data · v0.5.0
struct ChangeSetWithContext<T, K, X>
The changes of a cache with a context (ChangeSet<TObject, TKey, TContext>, which
implements IChangeSet<TObject, TKey, TContext>): the change sets of SortAndPage
(PageContext) and of SortAndVirtualize
(VirtualContext).
Deviation (DEVIATIONS.md, DynamicData): Rust has no overloading of a type by the number of its
parameters, so upstream's ChangeSet<TObject, TKey, TContext> is named
ChangeSetWithContext. It dereferences to its ChangeSet, as upstream's derives from it.
Members
new
fn new(collection: ChangeSet<T, K>, context: X) -> Self
The changes collection with context (ChangeSet(IEnumerable<Change>, TContext)).
empty
fn empty(context: X) -> Self
A change set without changes, with context (ChangeSet(TContext)).
context
fn context(self: &Self) -> &X
The context (Context).
changes
fn changes(self: &Self) -> &ChangeSet<T, K>
The changes.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedCloneDerefIntoIteratorIChangeSet<T, K>Debug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.