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.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.