pub enum AvrcpRemotePeerCapabilitiesMetricDimensionRemoteRole {
Target = 0,
Controller = 1,
}
Variants§
Trait Implementations§
§impl AsEventCode for BluetoothMetricDimensionRemoteRole
impl AsEventCode for BluetoothMetricDimensionRemoteRole
fn as_event_code(&self) -> u32
§impl Clone for BluetoothMetricDimensionRemoteRole
impl Clone for BluetoothMetricDimensionRemoteRole
§fn clone(&self) -> BluetoothMetricDimensionRemoteRole
fn clone(&self) -> BluetoothMetricDimensionRemoteRole
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 BluetoothMetricDimensionRemoteRole
impl Debug for BluetoothMetricDimensionRemoteRole
§impl Hash for BluetoothMetricDimensionRemoteRole
impl Hash for BluetoothMetricDimensionRemoteRole
§impl Ord for BluetoothMetricDimensionRemoteRole
impl Ord for BluetoothMetricDimensionRemoteRole
§fn cmp(&self, other: &BluetoothMetricDimensionRemoteRole) -> Ordering
fn cmp(&self, other: &BluetoothMetricDimensionRemoteRole) -> 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 BluetoothMetricDimensionRemoteRole
impl PartialEq for BluetoothMetricDimensionRemoteRole
§fn eq(&self, other: &BluetoothMetricDimensionRemoteRole) -> bool
fn eq(&self, other: &BluetoothMetricDimensionRemoteRole) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for BluetoothMetricDimensionRemoteRole
impl PartialOrd for BluetoothMetricDimensionRemoteRole
§fn partial_cmp(
&self,
other: &BluetoothMetricDimensionRemoteRole
) -> Option<Ordering>
fn partial_cmp( &self, other: &BluetoothMetricDimensionRemoteRole ) -> 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 BluetoothMetricDimensionRemoteRole
impl Eq for BluetoothMetricDimensionRemoteRole
impl StructuralPartialEq for BluetoothMetricDimensionRemoteRole
Auto Trait Implementations§
impl RefUnwindSafe for BluetoothMetricDimensionRemoteRole
impl Send for BluetoothMetricDimensionRemoteRole
impl Sync for BluetoothMetricDimensionRemoteRole
impl Unpin for BluetoothMetricDimensionRemoteRole
impl UnwindSafe for BluetoothMetricDimensionRemoteRole
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