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