Struct sbz_switch::soundcore::SoundCoreFeature
source · [−]pub struct SoundCoreFeature {
pub id: u32,
pub description: String,
pub version: String,
/* private fields */
}
Expand description
Represents a feature of a device.
Fields
id: u32
A numeric ID of the feature
description: String
A description of the feature
version: String
A version number of the feature implementation
Implementations
sourceimpl SoundCoreFeature
impl SoundCoreFeature
sourcepub fn parameters(&self) -> SoundCoreParameterIteratorⓘNotable traits for SoundCoreParameterIteratorimpl Iterator for SoundCoreParameterIterator type Item = Result<SoundCoreParameter, Win32Error>;
pub fn parameters(&self) -> SoundCoreParameterIteratorⓘNotable traits for SoundCoreParameterIteratorimpl Iterator for SoundCoreParameterIterator type Item = Result<SoundCoreParameter, Win32Error>;
Gets an iterator over the parameters of this feature.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SoundCoreFeature
impl !Send for SoundCoreFeature
impl !Sync for SoundCoreFeature
impl Unpin for SoundCoreFeature
impl UnwindSafe for SoundCoreFeature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more