Struct simics_api_sys::cache_control_interface
source · #[repr(C)]pub struct cache_control_interface {
pub cache_control: Option<unsafe extern "C" fn(cache: *mut conf_object_t, op: cache_control_operation_t, mem_op: *mut generic_transaction_t) -> cycles_t>,
}
Fields§
§cache_control: Option<unsafe extern "C" fn(cache: *mut conf_object_t, op: cache_control_operation_t, mem_op: *mut generic_transaction_t) -> cycles_t>
Returns the number of cycles until the operation is complete.
Trait Implementations§
source§impl Clone for cache_control_interface
impl Clone for cache_control_interface
source§fn clone(&self) -> cache_control_interface
fn clone(&self) -> cache_control_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 cache_control_interface
impl Debug for cache_control_interface
source§impl Default for cache_control_interface
impl Default for cache_control_interface
source§fn default() -> cache_control_interface
fn default() -> cache_control_interface
Returns the “default value” for a type. Read more
source§impl Hash for cache_control_interface
impl Hash for cache_control_interface
source§impl Ord for cache_control_interface
impl Ord for cache_control_interface
source§fn cmp(&self, other: &cache_control_interface) -> Ordering
fn cmp(&self, other: &cache_control_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 cache_control_interface
impl PartialEq for cache_control_interface
source§impl PartialOrd for cache_control_interface
impl PartialOrd for cache_control_interface
impl Copy for cache_control_interface
impl Eq for cache_control_interface
impl StructuralPartialEq for cache_control_interface
Auto Trait Implementations§
impl Freeze for cache_control_interface
impl RefUnwindSafe for cache_control_interface
impl Send for cache_control_interface
impl Sync for cache_control_interface
impl Unpin for cache_control_interface
impl UnwindSafe for cache_control_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
)