FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SwitchListEx

    trait · ferroui-dynamic-data · v0.5.0

    trait SwitchListEx
    

    Switch of a sequence of lists or of sequences of change sets.

    View source

    Members

    Item

    type Item: Clone + PartialEq + 'static
    

    The type of the items.

    Source

    switch_list

    fn switch_list(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item>>>
    

    The change sets of the latest source: each new source clears the items of the previous one, then delivers its own; the result completes when the sequence and the latest source have completed, and an error of either ends it (Switch(IObservable<IObservableList<T>>), Switch(IObservable<IObservable<IChangeSet<T>>>)).

    Source

    Trait implementations

    Availability

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