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