pub struct UcHook<'a, D: 'a, F: 'a> {
pub callback: F,
pub uc: Weak<UnsafeCell<UnicornInner<'a, D>>>,
}
Fields§
§callback: F
§uc: Weak<UnsafeCell<UnicornInner<'a, D>>>
Trait Implementations§
Auto Trait Implementations§
impl<'a, D, F> Freeze for UcHook<'a, D, F>where
F: Freeze,
impl<'a, D, F> !RefUnwindSafe for UcHook<'a, D, F>
impl<'a, D, F> !Send for UcHook<'a, D, F>
impl<'a, D, F> !Sync for UcHook<'a, D, F>
impl<'a, D, F> Unpin for UcHook<'a, D, F>where
F: Unpin,
impl<'a, D, F> !UnwindSafe for UcHook<'a, D, F>
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