#[repr(C)]pub struct address_profiler_interface {
pub iter: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint, start: generic_address_t, stop: generic_address_t) -> *mut addr_prof_iter_t>,
pub sum: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint, start: generic_address_t, end: generic_address_t) -> uint64>,
pub max: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint, start: generic_address_t, end: generic_address_t) -> uint64>,
pub granularity_log2: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint) -> c_uint>,
pub address_bits: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint) -> c_int>,
pub physical_addresses: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint) -> c_int>,
pub description: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint) -> *const c_char>,
pub num_views: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t) -> c_uint>,
}
Fields§
§iter: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint, start: generic_address_t, stop: generic_address_t) -> *mut addr_prof_iter_t>
§sum: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint, start: generic_address_t, end: generic_address_t) -> uint64>
§max: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint, start: generic_address_t, end: generic_address_t) -> uint64>
§granularity_log2: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint) -> c_uint>
§address_bits: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint) -> c_int>
§physical_addresses: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint) -> c_int>
§description: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t, view: c_uint) -> *const c_char>
§num_views: Option<unsafe extern "C" fn(prof_obj: *mut conf_object_t) -> c_uint>
Trait Implementations§
source§impl Clone for address_profiler_interface
impl Clone for address_profiler_interface
source§fn clone(&self) -> address_profiler_interface
fn clone(&self) -> address_profiler_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 address_profiler_interface
impl Debug for address_profiler_interface
source§impl Default for address_profiler_interface
impl Default for address_profiler_interface
source§fn default() -> address_profiler_interface
fn default() -> address_profiler_interface
Returns the “default value” for a type. Read more
source§impl Hash for address_profiler_interface
impl Hash for address_profiler_interface
source§impl Ord for address_profiler_interface
impl Ord for address_profiler_interface
source§fn cmp(&self, other: &address_profiler_interface) -> Ordering
fn cmp(&self, other: &address_profiler_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 PartialOrd for address_profiler_interface
impl PartialOrd for address_profiler_interface
impl Copy for address_profiler_interface
impl Eq for address_profiler_interface
impl StructuralPartialEq for address_profiler_interface
Auto Trait Implementations§
impl Freeze for address_profiler_interface
impl RefUnwindSafe for address_profiler_interface
impl Send for address_profiler_interface
impl Sync for address_profiler_interface
impl Unpin for address_profiler_interface
impl UnwindSafe for address_profiler_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
)