Struct drying_paint::WatchArg
source · pub struct WatchArg<'a, 'ctx, O: ?Sized> { /* private fields */ }
Implementations§
source§impl<'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>(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>
impl<'a, 'ctx, O> !UnwindSafe for WatchArg<'a, 'ctx, O>
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