Struct simics_api_sys::xed_access_interface
source · #[repr(C)]pub struct xed_access_interface {
pub get_last: Option<unsafe extern "C" fn(obj: *mut conf_object_t, type_: xed_data_type_t) -> c_int>,
pub decode: Option<unsafe extern "C" fn(obj: *mut conf_object_t, type_: xed_data_type_t, bytes: bytes_t) -> c_int>,
pub to_string: Option<unsafe extern "C" fn(obj: *mut conf_object_t, type_: xed_data_type_t, value: c_int) -> *const c_char>,
}
Fields§
§get_last: Option<unsafe extern "C" fn(obj: *mut conf_object_t, type_: xed_data_type_t) -> c_int>
§decode: Option<unsafe extern "C" fn(obj: *mut conf_object_t, type_: xed_data_type_t, bytes: bytes_t) -> c_int>
§to_string: Option<unsafe extern "C" fn(obj: *mut conf_object_t, type_: xed_data_type_t, value: c_int) -> *const c_char>
Trait Implementations§
source§impl Clone for xed_access_interface
impl Clone for xed_access_interface
source§fn clone(&self) -> xed_access_interface
fn clone(&self) -> xed_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 xed_access_interface
impl Debug for xed_access_interface
source§impl Default for xed_access_interface
impl Default for xed_access_interface
source§fn default() -> xed_access_interface
fn default() -> xed_access_interface
Returns the “default value” for a type. Read more
source§impl Hash for xed_access_interface
impl Hash for xed_access_interface
source§impl Ord for xed_access_interface
impl Ord for xed_access_interface
source§fn cmp(&self, other: &xed_access_interface) -> Ordering
fn cmp(&self, other: &xed_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 PartialEq for xed_access_interface
impl PartialEq for xed_access_interface
source§impl PartialOrd for xed_access_interface
impl PartialOrd for xed_access_interface
impl Copy for xed_access_interface
impl Eq for xed_access_interface
impl StructuralPartialEq for xed_access_interface
Auto Trait Implementations§
impl Freeze for xed_access_interface
impl RefUnwindSafe for xed_access_interface
impl Send for xed_access_interface
impl Sync for xed_access_interface
impl Unpin for xed_access_interface
impl UnwindSafe for xed_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
)