#[repr(C)]pub struct osa_node_tree_admin_interface {Show 13 fields
pub begin: Option<unsafe extern "C" fn(obj: *mut conf_object_t, initiator: *mut conf_object_t) -> transaction_id_t>,
pub end: Option<unsafe extern "C" fn(obj: *mut conf_object_t, transaction_id: transaction_id_t)>,
pub create: Option<unsafe extern "C" fn(obj: *mut conf_object_t, mapper: *mut conf_object_t, props: attr_value_t) -> node_id_t>,
pub add: Option<unsafe extern "C" fn(obj: *mut conf_object_t, parent_id: node_id_t, props: attr_value_t) -> node_id_t>,
pub update: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, props: attr_value_t)>,
pub remove: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t)>,
pub event: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, event_name: *const c_char, event_data: attr_value_t)>,
pub activate: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, cpu: *mut conf_object_t)>,
pub deactivate: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, cpu: *mut conf_object_t)>,
pub register_formatter: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, key: *const c_char, recursive: bool, formatter: Option<unsafe extern "C" fn(val: attr_value_t) -> attr_value_t>) -> cancel_id_t>,
pub unregister_formatter: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: cancel_id_t)>,
pub reset: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, props: attr_value_t)>,
pub set_property: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, key: *const c_char, value: attr_value_t)>,
}
Fields§
§begin: Option<unsafe extern "C" fn(obj: *mut conf_object_t, initiator: *mut conf_object_t) -> transaction_id_t>
§end: Option<unsafe extern "C" fn(obj: *mut conf_object_t, transaction_id: transaction_id_t)>
§create: Option<unsafe extern "C" fn(obj: *mut conf_object_t, mapper: *mut conf_object_t, props: attr_value_t) -> node_id_t>
§add: Option<unsafe extern "C" fn(obj: *mut conf_object_t, parent_id: node_id_t, props: attr_value_t) -> node_id_t>
§update: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, props: attr_value_t)>
§remove: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t)>
§event: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, event_name: *const c_char, event_data: attr_value_t)>
§activate: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, cpu: *mut conf_object_t)>
§deactivate: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, cpu: *mut conf_object_t)>
§register_formatter: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, key: *const c_char, recursive: bool, formatter: Option<unsafe extern "C" fn(val: attr_value_t) -> attr_value_t>) -> cancel_id_t>
§unregister_formatter: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: cancel_id_t)>
§reset: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, props: attr_value_t)>
§set_property: Option<unsafe extern "C" fn(obj: *mut conf_object_t, node_id: node_id_t, key: *const c_char, value: attr_value_t)>
Trait Implementations§
source§impl Clone for osa_node_tree_admin_interface
impl Clone for osa_node_tree_admin_interface
source§fn clone(&self) -> osa_node_tree_admin_interface
fn clone(&self) -> osa_node_tree_admin_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_node_tree_admin_interface
impl Default for osa_node_tree_admin_interface
source§fn default() -> osa_node_tree_admin_interface
fn default() -> osa_node_tree_admin_interface
Returns the “default value” for a type. Read more
source§impl Hash for osa_node_tree_admin_interface
impl Hash for osa_node_tree_admin_interface
source§impl Ord for osa_node_tree_admin_interface
impl Ord for osa_node_tree_admin_interface
source§fn cmp(&self, other: &osa_node_tree_admin_interface) -> Ordering
fn cmp(&self, other: &osa_node_tree_admin_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_node_tree_admin_interface
impl PartialEq for osa_node_tree_admin_interface
source§fn eq(&self, other: &osa_node_tree_admin_interface) -> bool
fn eq(&self, other: &osa_node_tree_admin_interface) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for osa_node_tree_admin_interface
impl PartialOrd for osa_node_tree_admin_interface
impl Copy for osa_node_tree_admin_interface
impl Eq for osa_node_tree_admin_interface
impl StructuralPartialEq for osa_node_tree_admin_interface
Auto Trait Implementations§
impl Freeze for osa_node_tree_admin_interface
impl RefUnwindSafe for osa_node_tree_admin_interface
impl Send for osa_node_tree_admin_interface
impl Sync for osa_node_tree_admin_interface
impl Unpin for osa_node_tree_admin_interface
impl UnwindSafe for osa_node_tree_admin_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
)