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