pub enum BluetoothMetricDimensionMode {
Le = 0,
BrEdr = 1,
}
Variants§
Trait Implementations§
§impl AsEventCode for BluetoothMetricDimensionMode
impl AsEventCode for BluetoothMetricDimensionMode
fn as_event_code(&self) -> u32
§impl Clone for BluetoothMetricDimensionMode
impl Clone for BluetoothMetricDimensionMode
§fn clone(&self) -> BluetoothMetricDimensionMode
fn clone(&self) -> BluetoothMetricDimensionMode
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 more§impl Debug for BluetoothMetricDimensionMode
impl Debug for BluetoothMetricDimensionMode
§impl Hash for BluetoothMetricDimensionMode
impl Hash for BluetoothMetricDimensionMode
§impl Ord for BluetoothMetricDimensionMode
impl Ord for BluetoothMetricDimensionMode
§fn cmp(&self, other: &BluetoothMetricDimensionMode) -> Ordering
fn cmp(&self, other: &BluetoothMetricDimensionMode) -> 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
§impl PartialEq for BluetoothMetricDimensionMode
impl PartialEq for BluetoothMetricDimensionMode
§fn eq(&self, other: &BluetoothMetricDimensionMode) -> bool
fn eq(&self, other: &BluetoothMetricDimensionMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for BluetoothMetricDimensionMode
impl PartialOrd for BluetoothMetricDimensionMode
§fn partial_cmp(&self, other: &BluetoothMetricDimensionMode) -> Option<Ordering>
fn partial_cmp(&self, other: &BluetoothMetricDimensionMode) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for BluetoothMetricDimensionMode
impl Eq for BluetoothMetricDimensionMode
impl StructuralPartialEq for BluetoothMetricDimensionMode
Auto Trait Implementations§
impl Freeze for BluetoothMetricDimensionMode
impl RefUnwindSafe for BluetoothMetricDimensionMode
impl Send for BluetoothMetricDimensionMode
impl Sync for BluetoothMetricDimensionMode
impl Unpin for BluetoothMetricDimensionMode
impl UnwindSafe for BluetoothMetricDimensionMode
Blanket Implementations§
§impl<A> AsEventCodes for Awhere
A: AsEventCode,
impl<A> AsEventCodes for Awhere
A: AsEventCode,
§fn as_event_codes(&self) -> Vec<u32>
fn as_event_codes(&self) -> Vec<u32>
Converts the source type into a
Vec<u32>
of event codes.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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)