Enum stm32wb_hci::BdAddrType
source · pub enum BdAddrType {
Public(BdAddr),
Random(BdAddr),
}
Expand description
Potential values for BDADDR
Variants§
Implementations§
source§impl BdAddrType
impl BdAddrType
sourcepub fn copy_into_slice(&self, bytes: &mut [u8])
pub fn copy_into_slice(&self, bytes: &mut [u8])
Writes a BdAddrType
into the given slice. The slice must be exactly the right length (7
bytes).
Trait Implementations§
source§impl Clone for BdAddrType
impl Clone for BdAddrType
source§fn clone(&self) -> BdAddrType
fn clone(&self) -> BdAddrType
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 BdAddrType
impl Debug for BdAddrType
source§impl PartialEq<BdAddrType> for BdAddrType
impl PartialEq<BdAddrType> for BdAddrType
source§fn eq(&self, other: &BdAddrType) -> bool
fn eq(&self, other: &BdAddrType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BdAddrType
impl StructuralPartialEq for BdAddrType
Auto Trait Implementations§
impl RefUnwindSafe for BdAddrType
impl Send for BdAddrType
impl Sync for BdAddrType
impl Unpin for BdAddrType
impl UnwindSafe for BdAddrType
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