#[repr(u8)]pub enum Deviceaddrtype {
PUBLIC = 0,
RANDOM = 1,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Deviceaddrtype
impl Clone for Deviceaddrtype
Source§fn clone(&self) -> Deviceaddrtype
fn clone(&self) -> Deviceaddrtype
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 From<Deviceaddrtype> for u8
impl From<Deviceaddrtype> for u8
Source§fn from(val: Deviceaddrtype) -> u8
fn from(val: Deviceaddrtype) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Deviceaddrtype
impl From<u8> for Deviceaddrtype
Source§fn from(val: u8) -> Deviceaddrtype
fn from(val: u8) -> Deviceaddrtype
Converts to this type from the input type.
Source§impl Ord for Deviceaddrtype
impl Ord for Deviceaddrtype
Source§fn cmp(&self, other: &Deviceaddrtype) -> Ordering
fn cmp(&self, other: &Deviceaddrtype) -> Ordering
1.21.0 · Source§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 Deviceaddrtype
impl PartialEq for Deviceaddrtype
Source§impl PartialOrd for Deviceaddrtype
impl PartialOrd for Deviceaddrtype
impl Copy for Deviceaddrtype
impl Eq for Deviceaddrtype
impl StructuralPartialEq for Deviceaddrtype
Auto Trait Implementations§
impl Freeze for Deviceaddrtype
impl RefUnwindSafe for Deviceaddrtype
impl Send for Deviceaddrtype
impl Sync for Deviceaddrtype
impl Unpin for Deviceaddrtype
impl UnwindSafe for Deviceaddrtype
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
)