#[repr(C)]pub union network_interface {
pub intr: [u8; 8],
pub addr: [u8; 16],
pub hw_addr: [u8; 18],
/* private fields */
}Fields§
§intr: [u8; 8]§addr: [u8; 16]§hw_addr: [u8; 18]Trait Implementations§
Source§impl Clone for network_interface
impl Clone for network_interface
Source§fn clone(&self) -> network_interface
fn clone(&self) -> network_interface
Returns a duplicate 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 moreimpl Copy for network_interface
Auto Trait Implementations§
impl Freeze for network_interface
impl RefUnwindSafe for network_interface
impl Send for network_interface
impl Sync for network_interface
impl Unpin for network_interface
impl UnwindSafe for network_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