#[repr(transparent)]pub struct ExtAddress(pub otExtAddress);
Expand description
Data type representing a EUI64 address.
Functional equivalent of otsys::otExtAddress
.
Tuple Fields§
§0: otExtAddress
Implementations§
Trait Implementations§
Source§impl Clone for ExtAddress
impl Clone for ExtAddress
Source§fn clone(&self) -> ExtAddress
fn clone(&self) -> ExtAddress
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 ExtAddress
impl Debug for ExtAddress
Source§impl Default for ExtAddress
impl Default for ExtAddress
Source§fn default() -> ExtAddress
fn default() -> ExtAddress
Returns the “default value” for a type. Read more
Source§impl Display for ExtAddress
impl Display for ExtAddress
Source§impl<'a> From<&'a ExtAddress> for &'a otExtAddress
impl<'a> From<&'a ExtAddress> for &'a otExtAddress
Source§fn from(x: &'a ExtAddress) -> Self
fn from(x: &'a ExtAddress) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a otExtAddress> for &'a ExtAddress
impl<'a> From<&'a otExtAddress> for &'a ExtAddress
Source§impl From<ExtAddress> for otExtAddress
impl From<ExtAddress> for otExtAddress
Source§fn from(x: ExtAddress) -> Self
fn from(x: ExtAddress) -> Self
Converts to this type from the input type.
Source§impl From<otExtAddress> for ExtAddress
impl From<otExtAddress> for ExtAddress
Source§impl OtCastable for ExtAddress
impl OtCastable for ExtAddress
Source§fn as_ot_ptr(&self) -> *const Self::OtType
fn as_ot_ptr(&self) -> *const Self::OtType
Returns a pointer to the underlying
Self::OtType
instance.Source§fn as_ot_mut_ptr(&mut self) -> *mut Self::OtType
fn as_ot_mut_ptr(&mut self) -> *mut Self::OtType
Returns a mutable pointer to the underlying
Self::OtType
instance.Source§unsafe fn ref_from_ot_ptr<'a>(ptr: *const Self::OtType) -> Option<&'a Self>
unsafe fn ref_from_ot_ptr<'a>(ptr: *const Self::OtType) -> Option<&'a Self>
Creates a reference from a pointer to an
Self::OtType
. Read moreSource§unsafe fn mut_from_ot_mut_ptr<'a>(
ptr: *mut Self::OtType,
) -> Option<&'a mut Self>
unsafe fn mut_from_ot_mut_ptr<'a>( ptr: *mut Self::OtType, ) -> Option<&'a mut Self>
Creates a mut reference from a mut pointer to an
Self::OtType
. Read moreSource§fn as_ot_ref(&self) -> &Self::OtType
fn as_ot_ref(&self) -> &Self::OtType
Returns a reference to the original OpenThread type
Self::OtType
.Source§fn as_ot_mut(&mut self) -> &mut Self::OtType
fn as_ot_mut(&mut self) -> &mut Self::OtType
Returns a mutable reference to the original OpenThread type
Self::OtType
.Source§fn ref_from_ot_ref(x: &Self::OtType) -> &Self
fn ref_from_ot_ref(x: &Self::OtType) -> &Self
Casts a reference to the original OpenThread type to a reference to
Self
.Source§impl Transparent for ExtAddress
impl Transparent for ExtAddress
impl Copy for ExtAddress
Auto Trait Implementations§
impl Freeze for ExtAddress
impl RefUnwindSafe for ExtAddress
impl Send for ExtAddress
impl Sync for ExtAddress
impl Unpin for ExtAddress
impl UnwindSafe for ExtAddress
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
)