FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ISourceCache

    trait · ferroui-dynamic-data · v0.5.0

    trait ISourceCache<T, K>: IObservableCache<T, K>
    

    A cache whose items are edited by its owner (ISourceCache<TObject, TKey>).

    View source

    Members

    key_selector

    fn key_selector(self: &Self) -> KeySelector<T, K>
    

    The key selector of the items (KeySelector).

    Source

    edit

    fn edit(self: &Self, update: &mut dyn FnMut(&mut dyn ISourceUpdater<T, K>) -> ())
    

    Runs an edit; its changes are delivered as one change set when it ends (Edit).

    Source

    Trait implementations

    Availability

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