FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    to_binding

    function · ferroui-base · v0.5.0

    fn to_binding<T: PropertyValue>(source: std::rc::Rc<dyn IObservable<T>>) -> std::rc::Rc<dyn BindingBase>
    

    Converts an observable to a binding (source.ToBinding()).

    The values of the observable are delivered untyped: a nullable value (Option<T>) as null or the value it holds.

    View source

    Availability

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