Struct bluez_async::MacAddress
source · [−]pub struct MacAddress(_);
Expand description
MAC address of a Bluetooth device.
Trait Implementations
sourceimpl Clone for MacAddress
impl Clone for MacAddress
sourcefn clone(&self) -> MacAddress
fn clone(&self) -> MacAddress
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MacAddress
impl Debug for MacAddress
sourceimpl Display for MacAddress
impl Display for MacAddress
sourceimpl From<MacAddress> for [u8; 6]
impl From<MacAddress> for [u8; 6]
sourcefn from(mac_address: MacAddress) -> Self
fn from(mac_address: MacAddress) -> Self
Converts to this type from the input type.
sourceimpl FromStr for MacAddress
impl FromStr for MacAddress
sourceimpl Hash for MacAddress
impl Hash for MacAddress
sourceimpl LowerHex for MacAddress
impl LowerHex for MacAddress
sourceimpl Ord for MacAddress
impl Ord for MacAddress
sourceimpl PartialEq<MacAddress> for MacAddress
impl PartialEq<MacAddress> for MacAddress
sourcefn eq(&self, other: &MacAddress) -> bool
fn eq(&self, other: &MacAddress) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MacAddress) -> bool
fn ne(&self, other: &MacAddress) -> bool
This method tests for !=
.
sourceimpl PartialOrd<MacAddress> for MacAddress
impl PartialOrd<MacAddress> for MacAddress
sourcefn partial_cmp(&self, other: &MacAddress) -> Option<Ordering>
fn partial_cmp(&self, other: &MacAddress) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl UpperHex for MacAddress
impl UpperHex for MacAddress
impl Copy for MacAddress
impl Eq for MacAddress
impl StructuralEq for MacAddress
impl StructuralPartialEq for MacAddress
Auto Trait Implementations
impl RefUnwindSafe for MacAddress
impl Send for MacAddress
impl Sync for MacAddress
impl Unpin for MacAddress
impl UnwindSafe for MacAddress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more