pub struct AudioDevProperty {
pub key: String,
pub value: Option<String>,
}Expand description
A generic prop or prop=value entry for -audiodev.
Fields§
§key: StringThe property name.
value: Option<String>The optional property value.
Trait Implementations§
Source§impl Arbitrary for AudioDevProperty
impl Arbitrary for AudioDevProperty
Source§type Parameters = (<String as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters)
type Parameters = (<String as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<String as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy), fn((String, Option<String>)) -> AudioDevProperty>
type Strategy = Map<(<String as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy), fn((String, Option<String>)) -> AudioDevProperty>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for AudioDevProperty
impl Clone for AudioDevProperty
Source§fn clone(&self) -> AudioDevProperty
fn clone(&self) -> AudioDevProperty
Returns a duplicate 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 AudioDevProperty
impl Debug for AudioDevProperty
Source§impl Hash for AudioDevProperty
impl Hash for AudioDevProperty
Source§impl Ord for AudioDevProperty
impl Ord for AudioDevProperty
Source§fn cmp(&self, other: &AudioDevProperty) -> Ordering
fn cmp(&self, other: &AudioDevProperty) -> 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 AudioDevProperty
impl PartialEq for AudioDevProperty
Source§impl PartialOrd for AudioDevProperty
impl PartialOrd for AudioDevProperty
impl Eq for AudioDevProperty
impl StructuralPartialEq for AudioDevProperty
Auto Trait Implementations§
impl Freeze for AudioDevProperty
impl RefUnwindSafe for AudioDevProperty
impl Send for AudioDevProperty
impl Sync for AudioDevProperty
impl Unpin for AudioDevProperty
impl UnsafeUnpin for AudioDevProperty
impl UnwindSafe for AudioDevProperty
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