FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ObservableCollectionAdaptor

    struct · ferroui-dynamic-data · v0.5.0

    struct ObservableCollectionAdaptor<T, K>
    

    Applies the change sets of a cache to an observable collection, loading it with a reset above a threshold of changes (ObservableCollectionAdaptor<TObject, TKey>).

    View source

    Members

    new

    fn new(refresh_threshold: usize, use_replace_for_updates: bool, reset_on_first_time_load: bool) -> Self
    

    The adaptor with every part (ObservableCollectionAdaptor(int, bool, bool)).

    Source

    with_options

    fn with_options(options: BindingOptions) -> Self
    

    The adaptor with options (ObservableCollectionAdaptor(BindingOptions)).

    Source

    with_use_replace_for_updates

    fn with_use_replace_for_updates(use_replace_for_updates: bool) -> Self
    

    The defaults with the choice of replacements (ObservableCollectionAdaptor(useReplaceForUpdates: ..)).

    Source

    Trait implementations

    Availability

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