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