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