pub struct BindingGuard<B: Binding> { /* private fields */ }Expand description
A RAII-guard that stores a value to
a Binding.
Once dropped, it will automatically update the value of the primary property.
Trait Implementations§
Source§impl<B: Binding> Deref for BindingGuard<B>
impl<B: Binding> Deref for BindingGuard<B>
Source§impl<B: Binding> DerefMut for BindingGuard<B>
impl<B: Binding> DerefMut for BindingGuard<B>
Auto Trait Implementations§
impl<B> Freeze for BindingGuard<B>
impl<B> RefUnwindSafe for BindingGuard<B>
impl<B> Send for BindingGuard<B>
impl<B> Sync for BindingGuard<B>
impl<B> Unpin for BindingGuard<B>
impl<B> UnwindSafe for BindingGuard<B>
Blanket Implementations§
Source§impl<C> AsyncPosition<()> for C
impl<C> AsyncPosition<()> for C
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