FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ObservableValue

    struct · ferroui-base · v0.5.0

    struct ObservableValue
    

    An observable as a value that can be stored in a property and streamed by a binding with the ^ operator. It has identity equality.

    View source

    Members

    0

    0: std::rc::Rc<dyn IObservable<Option<crate::BoxedValue>>>
    

    Source

    new

    fn new<T: PropertyValue>(source: Rc<dyn IObservable<T>>) -> Self
    

    Wraps a typed observable, boxing each value.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • PartialEq

    Availability

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