IObservableCache
trait · ferroui-dynamic-data · v0.5.0
trait IObservableCache<T, K>: IConnectableCache<T, K> + IDisposable
A cache that can be observed and read (IObservableCache<TObject, TKey>).
Members
count
fn count(self: &Self) -> usize
The number of items (Count).
items
fn items(self: &Self) -> Vec<T>
The items (Items).
keys
fn keys(self: &Self) -> Vec<K>
The keys (Keys).
key_values
fn key_values(self: &Self) -> IndexMap<K, T>
The keys and items, in the order of enumeration of the cache (KeyValues).
lookup
fn lookup(self: &Self, key: &K) -> Option<T>
The item of key (Lookup).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.