[−][src]Struct w5500::MacAddress
MAC address struct. Represents a MAC address as a u8 array of length 6.
Can be instantiated with MacAddress::new
Fields
address: [u8; 6]
Implementations
impl MacAddress
[src]
pub fn new(a0: u8, a1: u8, a2: u8, a3: u8, a4: u8, a5: u8) -> MacAddress
[src]
Instantiate a new MAC address with u8s for each address fragment
Trait Implementations
impl Clone for MacAddress
[src]
fn clone(&self) -> MacAddress
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MacAddress
[src]
impl Debug for MacAddress
[src]
impl Default for MacAddress
[src]
fn default() -> MacAddress
[src]
impl Display for MacAddress
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
String formatter for MAC addresses, useful for debugging output
impl PartialEq<MacAddress> for MacAddress
[src]
fn eq(&self, other: &MacAddress) -> bool
[src]
fn ne(&self, other: &MacAddress) -> bool
[src]
impl PartialOrd<MacAddress> for MacAddress
[src]
fn partial_cmp(&self, other: &MacAddress) -> Option<Ordering>
[src]
fn lt(&self, other: &MacAddress) -> bool
[src]
fn le(&self, other: &MacAddress) -> bool
[src]
fn gt(&self, other: &MacAddress) -> bool
[src]
fn ge(&self, other: &MacAddress) -> bool
[src]
impl StructuralPartialEq for MacAddress
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,