FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ColdObservable

    struct · ferroui-reactive-testing · v0.5.0

    struct ColdObservable<T>
    

    A sequence of recorded notifications at times relative to each subscription (ColdObservable<T>, ITestableObservable<T>).

    View source

    Members

    subscriptions

    fn subscriptions(self: &Self) -> Vec<Subscription>
    

    The subscriptions made to the sequence (Subscriptions).

    Source

    messages

    fn messages(self: &Self) -> Vec<Recorded<Notification<T>>>
    

    The notifications of the sequence (Messages).

    Source

    as_observable

    fn as_observable(self: &Rc<Self>) -> Rc<dyn IObservable<T>>
    

    The sequence as the handle operators take.

    Source

    Trait implementations

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

    Availability

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