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