Struct simics_api_sys::ether_addr
source · #[repr(C, packed(1))]pub struct ether_addr {
pub ether_addr_octet: [u8; 6],
}
Expand description
This is a name for the 48 bit ethernet address available on many systems.
Fields§
§ether_addr_octet: [u8; 6]
Trait Implementations§
source§impl Clone for ether_addr
impl Clone for ether_addr
source§fn clone(&self) -> ether_addr
fn clone(&self) -> ether_addr
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 ether_addr
impl Debug for ether_addr
source§impl Default for ether_addr
impl Default for ether_addr
source§fn default() -> ether_addr
fn default() -> ether_addr
Returns the “default value” for a type. Read more
source§impl Hash for ether_addr
impl Hash for ether_addr
source§impl Ord for ether_addr
impl Ord for ether_addr
source§fn cmp(&self, other: ðer_addr) -> Ordering
fn cmp(&self, other: ðer_addr) -> 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 ether_addr
impl PartialEq for ether_addr
source§impl PartialOrd for ether_addr
impl PartialOrd for ether_addr
impl Copy for ether_addr
impl Eq for ether_addr
impl StructuralPartialEq for ether_addr
Auto Trait Implementations§
impl Freeze for ether_addr
impl RefUnwindSafe for ether_addr
impl Send for ether_addr
impl Sync for ether_addr
impl Unpin for ether_addr
impl UnwindSafe for ether_addr
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
)