#[repr(transparent)]pub struct BluetoothLeAddressType(pub u8);Expand description
BluetoothLE address type.
Tuple Fields§
§0: u8Implementations§
Source§impl BluetoothLeAddressType
impl BluetoothLeAddressType
Sourcepub const PUBLIC: BluetoothLeAddressType
pub const PUBLIC: BluetoothLeAddressType
Public device address.
Sourcepub const RANDOM: BluetoothLeAddressType
pub const RANDOM: BluetoothLeAddressType
Random device address.
Trait Implementations§
Source§impl Clone for BluetoothLeAddressType
impl Clone for BluetoothLeAddressType
Source§fn clone(&self) -> BluetoothLeAddressType
fn clone(&self) -> BluetoothLeAddressType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BluetoothLeAddressType
Source§impl Debug for BluetoothLeAddressType
impl Debug for BluetoothLeAddressType
impl Eq for BluetoothLeAddressType
Source§impl Hash for BluetoothLeAddressType
impl Hash for BluetoothLeAddressType
Source§impl Ord for BluetoothLeAddressType
impl Ord for BluetoothLeAddressType
Source§fn cmp(&self, other: &BluetoothLeAddressType) -> Ordering
fn cmp(&self, other: &BluetoothLeAddressType) -> Ordering
1.21.0 (const: unstable)§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 BluetoothLeAddressType
impl PartialEq for BluetoothLeAddressType
Source§impl PartialOrd for BluetoothLeAddressType
impl PartialOrd for BluetoothLeAddressType
impl StructuralPartialEq for BluetoothLeAddressType
Auto Trait Implementations§
impl Freeze for BluetoothLeAddressType
impl RefUnwindSafe for BluetoothLeAddressType
impl Send for BluetoothLeAddressType
impl Sync for BluetoothLeAddressType
impl Unpin for BluetoothLeAddressType
impl UnsafeUnpin for BluetoothLeAddressType
impl UnwindSafe for BluetoothLeAddressType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)