pub struct Watch<T> { /* private fields */ }Expand description
A setting watched: its value now, and each change.
Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Watch<T>
impl<T> !UnwindSafe for Watch<T>
impl<T> Forget for Watch<T>
impl<T> Freeze for Watch<T>
impl<T> Send for Watch<T>
impl<T> Sync for Watch<T>
impl<T> Unpin for Watch<T>
impl<T> UnsafeUnpin for Watch<T>where
fn() -> T: UnsafeUnpin,
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