pub struct StaticHook(/* private fields */);Expand description
The hook created by a #[hook], set once when the program starts.
Implementations§
Source§impl StaticHook
impl StaticHook
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for StaticHook
impl RefUnwindSafe for StaticHook
impl Send for StaticHook
impl Sync for StaticHook
impl Unpin for StaticHook
impl UnsafeUnpin for StaticHook
impl UnwindSafe for StaticHook
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