pub struct RawWatchArg<'a, 'ctx, O: ?Sized> { /* private fields */ }Implementations§
Source§impl<'a, 'ctx, O: ?Sized> RawWatchArg<'a, 'ctx, O>
impl<'a, 'ctx, O: ?Sized> RawWatchArg<'a, 'ctx, O>
pub fn context(&mut self) -> &mut WatchContext<'ctx, O>
pub fn as_owner_and_arg(&mut self) -> (&mut O, WatchArg<'_, 'ctx, O>)
Auto Trait Implementations§
impl<'a, 'ctx, O> Freeze for RawWatchArg<'a, 'ctx, O>where
O: ?Sized,
impl<'a, 'ctx, O> !RefUnwindSafe for RawWatchArg<'a, 'ctx, O>
impl<'a, 'ctx, O> !Send for RawWatchArg<'a, 'ctx, O>
impl<'a, 'ctx, O> !Sync for RawWatchArg<'a, 'ctx, O>
impl<'a, 'ctx, O> Unpin for RawWatchArg<'a, 'ctx, O>where
O: ?Sized,
impl<'a, 'ctx, O> !UnwindSafe for RawWatchArg<'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