Struct simics_api_sys::mmc_interface
source · #[repr(C)]pub struct mmc_interface {
pub send_command: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cmd: uint8, args: uint32, response: buffer_t) -> c_int>,
pub read_data: Option<unsafe extern "C" fn(obj: *mut conf_object_t, data: buffer_t) -> c_int>,
pub write_data: Option<unsafe extern "C" fn(obj: *mut conf_object_t, data: bytes_t) -> c_int>,
}
Fields§
§send_command: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cmd: uint8, args: uint32, response: buffer_t) -> c_int>
§read_data: Option<unsafe extern "C" fn(obj: *mut conf_object_t, data: buffer_t) -> c_int>
§write_data: Option<unsafe extern "C" fn(obj: *mut conf_object_t, data: bytes_t) -> c_int>
Trait Implementations§
source§impl Clone for mmc_interface
impl Clone for mmc_interface
source§fn clone(&self) -> mmc_interface
fn clone(&self) -> mmc_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 mmc_interface
impl Debug for mmc_interface
source§impl Default for mmc_interface
impl Default for mmc_interface
source§fn default() -> mmc_interface
fn default() -> mmc_interface
Returns the “default value” for a type. Read more
source§impl Hash for mmc_interface
impl Hash for mmc_interface
source§impl Ord for mmc_interface
impl Ord for mmc_interface
source§fn cmp(&self, other: &mmc_interface) -> Ordering
fn cmp(&self, other: &mmc_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 mmc_interface
impl PartialEq for mmc_interface
source§impl PartialOrd for mmc_interface
impl PartialOrd for mmc_interface
impl Copy for mmc_interface
impl Eq for mmc_interface
impl StructuralPartialEq for mmc_interface
Auto Trait Implementations§
impl Freeze for mmc_interface
impl RefUnwindSafe for mmc_interface
impl Send for mmc_interface
impl Sync for mmc_interface
impl Unpin for mmc_interface
impl UnwindSafe for mmc_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
)