FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CombineLatestObservable

    struct · ferroui-reactiveui · v0.5.0

    struct CombineLatestObservable
    

    Combines the latest value of each of 2 to 16 sequences (CombineLatestObservable).

    It delegates to the combine_latest operators of ferroui-reactive, as upstream delegates to its own engine.

    View source

    Members

    create

    fn create<S: CombineLatestSources, R: 'static>(sources: S, result_selector: impl Fn(<S as >::Values) -> R + 'static) -> Rc<dyn IObservable<R>>
    

    The latest values of sources (a tuple of sequences) combined by result_selector, which takes them as one tuple (Create<T1, ..., TResult>).

    Source

    create_tuple

    fn create_tuple<S: CombineLatestSources>(sources: S) -> Rc<dyn IObservable<<S as >::Values>>
    

    The latest values of sources as a tuple.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any

    Availability

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