Struct fuchsia_audio::device::RegistrySelector
source · pub struct RegistrySelector(pub TokenId);
Expand description
Identifies a device available through the fuchsia.audio.device/Registry
protocol.
Tuple Fields§
§0: TokenId
Implementations§
Trait Implementations§
source§impl Clone for RegistrySelector
impl Clone for RegistrySelector
source§fn clone(&self) -> RegistrySelector
fn clone(&self) -> RegistrySelector
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 moresource§impl Debug for RegistrySelector
impl Debug for RegistrySelector
source§impl Display for RegistrySelector
impl Display for RegistrySelector
source§impl From<RegistrySelector> for DeviceSelector
impl From<RegistrySelector> for DeviceSelector
source§fn from(value: RegistrySelector) -> Self
fn from(value: RegistrySelector) -> Self
Converts to this type from the input type.
source§impl From<u64> for RegistrySelector
impl From<u64> for RegistrySelector
source§impl Hash for RegistrySelector
impl Hash for RegistrySelector
source§impl Ord for RegistrySelector
impl Ord for RegistrySelector
source§fn cmp(&self, other: &RegistrySelector) -> Ordering
fn cmp(&self, other: &RegistrySelector) -> 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
source§impl PartialEq for RegistrySelector
impl PartialEq for RegistrySelector
source§fn eq(&self, other: &RegistrySelector) -> bool
fn eq(&self, other: &RegistrySelector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RegistrySelector
impl PartialOrd for RegistrySelector
source§fn partial_cmp(&self, other: &RegistrySelector) -> Option<Ordering>
fn partial_cmp(&self, other: &RegistrySelector) -> 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 moresource§impl TryFrom<DeviceSelector> for RegistrySelector
impl TryFrom<DeviceSelector> for RegistrySelector
impl Eq for RegistrySelector
impl StructuralPartialEq for RegistrySelector
Auto Trait Implementations§
impl Freeze for RegistrySelector
impl RefUnwindSafe for RegistrySelector
impl Send for RegistrySelector
impl Sync for RegistrySelector
impl Unpin for RegistrySelector
impl UnwindSafe for RegistrySelector
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