#[repr(C)]pub struct x86_memory_access_interface {
pub read_logical: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, offs: logical_address_t, seg: x86_seg_t, len: c_uint, mode: x86_processor_mode_t, access_type: x86_access_type_t) -> uint64>,
pub read_logical_buf: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, offs: logical_address_t, seg: x86_seg_t, len: c_uint, p: *mut c_void, mode: x86_processor_mode_t, access_type: x86_access_type_t, alignment: x86_alignment_t)>,
pub write_logical: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, offs: logical_address_t, seg: x86_seg_t, len: c_uint, val: uint64, mode: x86_processor_mode_t, access_type: x86_access_type_t)>,
pub write_logical_buf: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, offs: logical_address_t, seg: x86_seg_t, len: c_uint, p: *const c_void, mode: x86_processor_mode_t, access_type: x86_access_type_t, alignment: x86_alignment_t)>,
}
Fields§
§read_logical: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, offs: logical_address_t, seg: x86_seg_t, len: c_uint, mode: x86_processor_mode_t, access_type: x86_access_type_t) -> uint64>
§read_logical_buf: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, offs: logical_address_t, seg: x86_seg_t, len: c_uint, p: *mut c_void, mode: x86_processor_mode_t, access_type: x86_access_type_t, alignment: x86_alignment_t)>
§write_logical: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, offs: logical_address_t, seg: x86_seg_t, len: c_uint, val: uint64, mode: x86_processor_mode_t, access_type: x86_access_type_t)>
§write_logical_buf: Option<unsafe extern "C" fn(cpu: *mut conf_object_t, offs: logical_address_t, seg: x86_seg_t, len: c_uint, p: *const c_void, mode: x86_processor_mode_t, access_type: x86_access_type_t, alignment: x86_alignment_t)>
Trait Implementations§
source§impl Clone for x86_memory_access_interface
impl Clone for x86_memory_access_interface
source§fn clone(&self) -> x86_memory_access_interface
fn clone(&self) -> x86_memory_access_interface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for x86_memory_access_interface
impl Debug for x86_memory_access_interface
source§impl Default for x86_memory_access_interface
impl Default for x86_memory_access_interface
source§fn default() -> x86_memory_access_interface
fn default() -> x86_memory_access_interface
Returns the “default value” for a type. Read more
source§impl Hash for x86_memory_access_interface
impl Hash for x86_memory_access_interface
source§impl Ord for x86_memory_access_interface
impl Ord for x86_memory_access_interface
source§fn cmp(&self, other: &x86_memory_access_interface) -> Ordering
fn cmp(&self, other: &x86_memory_access_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialOrd for x86_memory_access_interface
impl PartialOrd for x86_memory_access_interface
impl Copy for x86_memory_access_interface
impl Eq for x86_memory_access_interface
impl StructuralPartialEq for x86_memory_access_interface
Auto Trait Implementations§
impl Freeze for x86_memory_access_interface
impl RefUnwindSafe for x86_memory_access_interface
impl Send for x86_memory_access_interface
impl Sync for x86_memory_access_interface
impl Unpin for x86_memory_access_interface
impl UnwindSafe for x86_memory_access_interface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)