#[repr(C)]pub struct attribute_monitor_interface {
pub register_monitored_attribute: Option<unsafe extern "C" fn(obj: *mut conf_object_t, attr_obj: *mut conf_object_t, attr_name: *const c_char) -> *mut attribute_id_t>,
pub monitored_attribute_changed: Option<unsafe extern "C" fn(obj: *mut conf_object_t, id: *mut attribute_id_t)>,
}
Fields§
§register_monitored_attribute: Option<unsafe extern "C" fn(obj: *mut conf_object_t, attr_obj: *mut conf_object_t, attr_name: *const c_char) -> *mut attribute_id_t>
§monitored_attribute_changed: Option<unsafe extern "C" fn(obj: *mut conf_object_t, id: *mut attribute_id_t)>
Trait Implementations§
source§impl Clone for attribute_monitor_interface
impl Clone for attribute_monitor_interface
source§fn clone(&self) -> attribute_monitor_interface
fn clone(&self) -> attribute_monitor_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 attribute_monitor_interface
impl Debug for attribute_monitor_interface
source§impl Default for attribute_monitor_interface
impl Default for attribute_monitor_interface
source§fn default() -> attribute_monitor_interface
fn default() -> attribute_monitor_interface
Returns the “default value” for a type. Read more
source§impl Hash for attribute_monitor_interface
impl Hash for attribute_monitor_interface
source§impl Ord for attribute_monitor_interface
impl Ord for attribute_monitor_interface
source§fn cmp(&self, other: &attribute_monitor_interface) -> Ordering
fn cmp(&self, other: &attribute_monitor_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 attribute_monitor_interface
impl PartialOrd for attribute_monitor_interface
impl Copy for attribute_monitor_interface
impl Eq for attribute_monitor_interface
impl StructuralPartialEq for attribute_monitor_interface
Auto Trait Implementations§
impl Freeze for attribute_monitor_interface
impl RefUnwindSafe for attribute_monitor_interface
impl Send for attribute_monitor_interface
impl Sync for attribute_monitor_interface
impl Unpin for attribute_monitor_interface
impl UnwindSafe for attribute_monitor_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
)