FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IObservable

    trait · ferroui-system · v0.5.0

    trait IObservable<T>
    

    A push-based source of values.

    View source

    Members

    subscribe

    fn subscribe(self: &Self, observer: Rc<dyn IObserver<T>>) -> Rc<dyn IDisposable>
    

    Subscribes observer; disposing the returned handle unsubscribes it.

    Source

    Availability

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