pub struct BtHostAdapterEventEventCodes {
pub mode: BluetoothMetricDimensionMode,
pub event: BtHostAdapterEventMetricDimensionEvent,
}
Fields§
§mode: BluetoothMetricDimensionMode
§event: BtHostAdapterEventMetricDimensionEvent
Trait Implementations§
§impl AsEventCodes for BtHostAdapterEventEventCodes
impl AsEventCodes for BtHostAdapterEventEventCodes
§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.§impl Clone for BtHostAdapterEventEventCodes
impl Clone for BtHostAdapterEventEventCodes
§fn clone(&self) -> BtHostAdapterEventEventCodes
fn clone(&self) -> BtHostAdapterEventEventCodes
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 BtHostAdapterEventEventCodes
impl Debug for BtHostAdapterEventEventCodes
§impl Hash for BtHostAdapterEventEventCodes
impl Hash for BtHostAdapterEventEventCodes
§impl Ord for BtHostAdapterEventEventCodes
impl Ord for BtHostAdapterEventEventCodes
§fn cmp(&self, other: &BtHostAdapterEventEventCodes) -> Ordering
fn cmp(&self, other: &BtHostAdapterEventEventCodes) -> 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 BtHostAdapterEventEventCodes
impl PartialEq for BtHostAdapterEventEventCodes
§fn eq(&self, other: &BtHostAdapterEventEventCodes) -> bool
fn eq(&self, other: &BtHostAdapterEventEventCodes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for BtHostAdapterEventEventCodes
impl PartialOrd for BtHostAdapterEventEventCodes
§fn partial_cmp(&self, other: &BtHostAdapterEventEventCodes) -> Option<Ordering>
fn partial_cmp(&self, other: &BtHostAdapterEventEventCodes) -> 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 BtHostAdapterEventEventCodes
impl Eq for BtHostAdapterEventEventCodes
impl StructuralPartialEq for BtHostAdapterEventEventCodes
Auto Trait Implementations§
impl RefUnwindSafe for BtHostAdapterEventEventCodes
impl Send for BtHostAdapterEventEventCodes
impl Sync for BtHostAdapterEventEventCodes
impl Unpin for BtHostAdapterEventEventCodes
impl UnwindSafe for BtHostAdapterEventEventCodes
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