FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ListSourceListCombineEx

    trait · ferroui-dynamic-data · v0.5.0

    trait ListSourceListCombineEx
    

    And, Or, Xor and Except of an observable list of sources (And(this IObservableList<IObservable<IChangeSet<T>>>), And(this IObservableList<IObservableList<T>>), And(this IObservableList<ISourceList<T>>), ..): the result follows the sources as they are added to the list and removed from it.

    View source

    Members

    Item

    type Item: Clone + PartialEq + 'static
    

    The type of the items.

    Source

    and_list

    fn and_list(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item>>>
    where <Self as >::Item: Eq + Hash
    

    The items that are in every source of the list; none while the list is empty (And(IObservableList<..>)).

    Source

    or

    fn or(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item>>>
    where <Self as >::Item: Eq + Hash
    

    The items that are in any source of the list (Or(IObservableList<..>)).

    Source

    xor

    fn xor(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item>>>
    where <Self as >::Item: Eq + Hash
    

    The items that are in exactly one source of the list (Xor(IObservableList<..>)).

    Source

    except

    fn except(self: &Self) -> Rc<dyn IObservable<ChangeSet<<Self as >::Item>>>
    where <Self as >::Item: Eq + Hash
    

    The items of the first source of the list that are in none of the others (Except(IObservableList<..>)).

    Source

    Trait implementations

    Availability

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