Struct hooks_core::CloneArgsForHook
source · pub struct CloneArgsForHook<Args: Clone>(pub Args);
Tuple Fields
0: Args
Trait Implementations
sourceimpl<R: ?Sized, H: Hook<Args> + ?Sized, Args: Clone> GetArgsForHook<R, H, Args> for CloneArgsForHook<Args>
impl<R: ?Sized, H: Hook<Args> + ?Sized, Args: Clone> GetArgsForHook<R, H, Args> for CloneArgsForHook<Args>
fn get_args_for_hook(&mut self, _runner: &mut R, _hook: &mut H) -> Args
Auto Trait Implementations
impl<Args> RefUnwindSafe for CloneArgsForHook<Args>where
Args: RefUnwindSafe,
impl<Args> Send for CloneArgsForHook<Args>where
Args: Send,
impl<Args> Sync for CloneArgsForHook<Args>where
Args: Sync,
impl<Args> Unpin for CloneArgsForHook<Args>where
Args: Unpin,
impl<Args> UnwindSafe for CloneArgsForHook<Args>where
Args: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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