pub struct UnicornInner<'a, D> {
pub handle: uc_handle,
pub ffi: bool,
pub arch: Arch,
pub hooks: Vec<(UcHookId, Box<dyn IsUcHook<'a> + 'a>)>,
pub mmio_callbacks: Vec<MmioCallbackScope<'a>>,
pub data: D,
}
Fields§
§handle: uc_handle
§ffi: bool
§arch: Arch
§hooks: Vec<(UcHookId, Box<dyn IsUcHook<'a> + 'a>)>
to keep ownership over the hook for this uc instance’s lifetime
mmio_callbacks: Vec<MmioCallbackScope<'a>>
To keep ownership over the mmio callbacks for this uc instance’s lifetime
data: D
Trait Implementations§
Auto Trait Implementations§
impl<'a, D> Freeze for UnicornInner<'a, D>where
D: Freeze,
impl<'a, D> !RefUnwindSafe for UnicornInner<'a, D>
impl<'a, D> !Send for UnicornInner<'a, D>
impl<'a, D> !Sync for UnicornInner<'a, D>
impl<'a, D> Unpin for UnicornInner<'a, D>where
D: Unpin,
impl<'a, D> !UnwindSafe for UnicornInner<'a, D>
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