pub struct Hook<'a> {
pub data: HookData<'a>,
}Fields§
§data: HookData<'a>Implementations§
Source§impl<'a> Hook<'a>
impl<'a> Hook<'a>
pub fn apply_hook(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Hook<'a>
impl<'a> RefUnwindSafe for Hook<'a>
impl<'a> !Send for Hook<'a>
impl<'a> !Sync for Hook<'a>
impl<'a> Unpin for Hook<'a>
impl<'a> UnwindSafe for Hook<'a>
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