Skip to main content

bind

Macro bind 

Source
macro_rules! bind {
    ($obs:expr) => { ... };
}
Expand description

Create a direct Binding to an observable.

§Examples

let count = Observable::new(0);
let b = bind!(count);
assert_eq!(b.get(), 0);