#[repr(C)]pub struct osa_tracker_control_interface {
pub disable: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
pub enable: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>,
pub clear_state: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
pub add_processor: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cpu: *mut conf_object_t) -> bool>,
pub remove_processor: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cpu: *mut conf_object_t) -> bool>,
}
Fields§
§disable: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
§enable: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>
§clear_state: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
§add_processor: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cpu: *mut conf_object_t) -> bool>
§remove_processor: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cpu: *mut conf_object_t) -> bool>
Trait Implementations§
source§impl Clone for osa_tracker_control_interface
impl Clone for osa_tracker_control_interface
source§fn clone(&self) -> osa_tracker_control_interface
fn clone(&self) -> osa_tracker_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 Default for osa_tracker_control_interface
impl Default for osa_tracker_control_interface
source§fn default() -> osa_tracker_control_interface
fn default() -> osa_tracker_control_interface
Returns the “default value” for a type. Read more
source§impl Hash for osa_tracker_control_interface
impl Hash for osa_tracker_control_interface
source§impl Ord for osa_tracker_control_interface
impl Ord for osa_tracker_control_interface
source§fn cmp(&self, other: &osa_tracker_control_interface) -> Ordering
fn cmp(&self, other: &osa_tracker_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 osa_tracker_control_interface
impl PartialEq for osa_tracker_control_interface
source§fn eq(&self, other: &osa_tracker_control_interface) -> bool
fn eq(&self, other: &osa_tracker_control_interface) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for osa_tracker_control_interface
impl PartialOrd for osa_tracker_control_interface
impl Copy for osa_tracker_control_interface
impl Eq for osa_tracker_control_interface
impl StructuralPartialEq for osa_tracker_control_interface
Auto Trait Implementations§
impl Freeze for osa_tracker_control_interface
impl RefUnwindSafe for osa_tracker_control_interface
impl Send for osa_tracker_control_interface
impl Sync for osa_tracker_control_interface
impl Unpin for osa_tracker_control_interface
impl UnwindSafe for osa_tracker_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
)