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