FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    InvalidateWhenEx

    trait · ferroui-dynamic-data · v0.5.0

    trait InvalidateWhenEx<T>
    

    The invalidation of an aggregating sequence (InvalidateWhen), for every sequence.

    View source

    Members

    invalidate_when

    fn invalidate_when<U: 'static>(self: &Self, invalidate: Rc<dyn IObservable<U>>) -> Rc<dyn IObservable<T>>
    

    The sequence, subscribed again each time invalidate notifies, without repeating a value: used when an item changes inline, so that an aggregation is computed again (InvalidateWhen(IObservable<Unit>) and InvalidateWhen<T, TTrigger>(IObservable<TTrigger?>), which are one method: the trigger's values are not read).

    Source

    Trait implementations

    Availability

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