FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ObservableLeaf

    trait · ferroui-reactiveui · v0.5.0

    trait ObservableLeaf: Clone + 'static
    

    The value of a property that holds an observable: the observable itself, or an Option of it (a property that may hold null).

    View source

    Members

    Item

    type Item: 'static
    

    The type of the values of the observable.

    Source

    observable

    fn observable(self: &Self) -> Option<Rc<dyn IObservable<<Self as >::Item>>>
    

    The observable the property holds, if any.

    Source

    same

    fn same(self: &Self, other: &Self) -> bool
    

    Whether two values are the same observable (reference equality, as upstream compares them).

    Source

    Trait implementations

    Availability

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