pub struct UnicornInner<'a, D> {
    pub handle: *mut c_void,
    pub ffi: bool,
    pub arch: Arch,
    pub hooks: Vec<(*mut c_void, Box<dyn IsUcHook<'a> + 'a>)>,
    pub mmio_callbacks: Vec<MmioCallbackScope<'a>>,
    pub data: D,
}

Fields

handle: *mut c_voidffi: boolarch: Archhooks: Vec<(*mut c_void, 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

Drop UC

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.