Struct simics_api_sys::bindings::pmr_interface
source · #[repr(C)]pub struct pmr_interface {
pub get: Option<unsafe extern "C" fn(obj: *mut conf_object_t, pmr_number: c_int, instruction_read: bool) -> uint64>,
pub set: Option<unsafe extern "C" fn(obj: *mut conf_object_t, pmr_number: c_int, value: uint64, instruction_write: bool)>,
}
Fields§
§get: Option<unsafe extern "C" fn(obj: *mut conf_object_t, pmr_number: c_int, instruction_read: bool) -> uint64>
§set: Option<unsafe extern "C" fn(obj: *mut conf_object_t, pmr_number: c_int, value: uint64, instruction_write: bool)>
Trait Implementations§
source§impl Clone for pmr_interface
impl Clone for pmr_interface
source§fn clone(&self) -> pmr_interface
fn clone(&self) -> pmr_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 pmr_interface
impl Debug for pmr_interface
source§impl Default for pmr_interface
impl Default for pmr_interface
source§fn default() -> pmr_interface
fn default() -> pmr_interface
Returns the “default value” for a type. Read more
source§impl Hash for pmr_interface
impl Hash for pmr_interface
source§impl Ord for pmr_interface
impl Ord for pmr_interface
source§fn cmp(&self, other: &pmr_interface) -> Ordering
fn cmp(&self, other: &pmr_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 PartialEq for pmr_interface
impl PartialEq for pmr_interface
source§impl PartialOrd for pmr_interface
impl PartialOrd for pmr_interface
impl Copy for pmr_interface
impl Eq for pmr_interface
impl StructuralPartialEq for pmr_interface
Auto Trait Implementations§
impl Freeze for pmr_interface
impl RefUnwindSafe for pmr_interface
impl Send for pmr_interface
impl Sync for pmr_interface
impl Unpin for pmr_interface
impl UnwindSafe for pmr_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
)