pub struct Binding<T> { /* private fields */ }Expand description
A read-only binding to an Observable value with an optional transform.
Evaluates lazily on each get() call. For memoized transforms, prefer
Computed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Binding<T>
impl<T> !RefUnwindSafe for Binding<T>
impl<T> !Send for Binding<T>
impl<T> !Sync for Binding<T>
impl<T> Unpin for Binding<T>
impl<T> !UnwindSafe for Binding<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more