FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MockObserver

    struct · ferroui-reactive-testing · v0.5.0

    struct MockObserver<T>
    

    An observer that records what it receives with the virtual time (MockObserver<T>, ITestableObserver<T>).

    View source

    Members

    messages

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

    What the observer received (Messages).

    Source

    Trait implementations

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

    Availability

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