Struct simics_api_sys::linear_image_interface
source · #[repr(C)]pub struct linear_image_interface {
pub get_base: Option<unsafe extern "C" fn(obj: *mut conf_object_t, retsize: *mut usize) -> *mut uint8>,
pub set_base: Option<unsafe extern "C" fn(obj: *mut conf_object_t, base: *mut uint8)>,
pub prepare_range: Option<unsafe extern "C" fn(obj: *mut conf_object_t, type_: read_or_write_t, offs: usize, size: usize)>,
}
Fields§
§get_base: Option<unsafe extern "C" fn(obj: *mut conf_object_t, retsize: *mut usize) -> *mut uint8>
§set_base: Option<unsafe extern "C" fn(obj: *mut conf_object_t, base: *mut uint8)>
§prepare_range: Option<unsafe extern "C" fn(obj: *mut conf_object_t, type_: read_or_write_t, offs: usize, size: usize)>
Trait Implementations§
source§impl Clone for linear_image_interface
impl Clone for linear_image_interface
source§fn clone(&self) -> linear_image_interface
fn clone(&self) -> linear_image_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 linear_image_interface
impl Debug for linear_image_interface
source§impl Default for linear_image_interface
impl Default for linear_image_interface
source§fn default() -> linear_image_interface
fn default() -> linear_image_interface
Returns the “default value” for a type. Read more
source§impl Hash for linear_image_interface
impl Hash for linear_image_interface
source§impl Ord for linear_image_interface
impl Ord for linear_image_interface
source§fn cmp(&self, other: &linear_image_interface) -> Ordering
fn cmp(&self, other: &linear_image_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 linear_image_interface
impl PartialEq for linear_image_interface
source§impl PartialOrd for linear_image_interface
impl PartialOrd for linear_image_interface
impl Copy for linear_image_interface
impl Eq for linear_image_interface
impl StructuralPartialEq for linear_image_interface
Auto Trait Implementations§
impl Freeze for linear_image_interface
impl RefUnwindSafe for linear_image_interface
impl Send for linear_image_interface
impl Sync for linear_image_interface
impl Unpin for linear_image_interface
impl UnwindSafe for linear_image_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
)