#[repr(C)]pub struct JitEntryAbi {
pub guest_pc: u64,
pub execute: unsafe extern "C" fn(*mut GuestState) -> ExitReason,
}Expand description
Pairs a guest target with native code for indirect dispatch from generated code.
Fields§
§guest_pc: u64Gives the guest block-entry address used as the sorted lookup key.
execute: unsafe extern "C" fn(*mut GuestState) -> ExitReasonCalls native code that starts at guest_pc.
Trait Implementations§
Source§impl Clone for JitEntryAbi
impl Clone for JitEntryAbi
Source§fn clone(&self) -> JitEntryAbi
fn clone(&self) -> JitEntryAbi
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for JitEntryAbi
Auto Trait Implementations§
impl Freeze for JitEntryAbi
impl RefUnwindSafe for JitEntryAbi
impl Send for JitEntryAbi
impl Sync for JitEntryAbi
impl Unpin for JitEntryAbi
impl UnsafeUnpin for JitEntryAbi
impl UnwindSafe for JitEntryAbi
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