Struct drying_paint::WatchArg
source · [−]pub struct WatchArg<'a, 'ctx, O: ?Sized> { /* private fields */ }Implementations
sourceimpl<'a> WatchArg<'a, 'static, DefaultOwner>
impl<'a> WatchArg<'a, 'static, DefaultOwner>
pub fn use_as_current<R, F: FnOnce() -> R>(&self, f: F) -> R
pub fn try_with_current<F: FnOnce(WatchArg<'_, 'static, DefaultOwner>)>(
f: F
) -> Option<()>
Trait Implementations
impl<'a, 'ctx, O: ?Sized> Copy for WatchArg<'a, 'ctx, O>
Auto Trait Implementations
impl<'a, 'ctx, O> !RefUnwindSafe for WatchArg<'a, 'ctx, O>
impl<'a, 'ctx, O> !Send for WatchArg<'a, 'ctx, O>
impl<'a, 'ctx, O> !Sync for WatchArg<'a, 'ctx, O>
impl<'a, 'ctx, O: ?Sized> Unpin for WatchArg<'a, 'ctx, O> where
'ctx: 'a,
impl<'a, 'ctx, O> !UnwindSafe for WatchArg<'a, 'ctx, O>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more