pub struct AudioFeatures(/* private fields */);Expand description
What one audio endpoint can do.
Implementations§
Source§impl AudioFeatures
impl AudioFeatures
Sourcepub const ROUTE_INPUT: Self
pub const ROUTE_INPUT: Self
Can be routed to as an input.
Sourcepub const ROUTE_OUTPUT: Self
pub const ROUTE_OUTPUT: Self
Can be routed from as an output.
Sourcepub const ROUTE_IN_NONE: Self
pub const ROUTE_IN_NONE: Self
Accepts “no input” as a route.
Sourcepub const AMP_OUTPUT: Self
pub const AMP_OUTPUT: Self
Is an amplifier output.
Sourcepub const VOLUME_CONTROL: Self
pub const VOLUME_CONTROL: Self
Has a volume control.
Sourcepub const GAIN_CONTROL: Self
pub const GAIN_CONTROL: Self
Has a gain control.
Trait Implementations§
Source§impl Clone for AudioFeatures
impl Clone for AudioFeatures
Source§fn clone(&self) -> AudioFeatures
fn clone(&self) -> AudioFeatures
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AudioFeatures
Source§impl Debug for AudioFeatures
impl Debug for AudioFeatures
Source§impl Default for AudioFeatures
impl Default for AudioFeatures
Source§fn default() -> AudioFeatures
fn default() -> AudioFeatures
Returns the “default value” for a type. Read more
impl Eq for AudioFeatures
Source§impl Hash for AudioFeatures
impl Hash for AudioFeatures
Source§impl Ord for AudioFeatures
impl Ord for AudioFeatures
Source§fn cmp(&self, other: &AudioFeatures) -> Ordering
fn cmp(&self, other: &AudioFeatures) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AudioFeatures
impl PartialEq for AudioFeatures
Source§impl PartialOrd for AudioFeatures
impl PartialOrd for AudioFeatures
impl StructuralPartialEq for AudioFeatures
Auto Trait Implementations§
impl Freeze for AudioFeatures
impl RefUnwindSafe for AudioFeatures
impl Send for AudioFeatures
impl Sync for AudioFeatures
impl Unpin for AudioFeatures
impl UnsafeUnpin for AudioFeatures
impl UnwindSafe for AudioFeatures
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