pub struct Type(pub DeviceType);
Expand description
The type of an audio device.
Tuple Fields§
§0: DeviceType
Implementations§
Trait Implementations§
Source§impl From<DeviceType> for Type
impl From<DeviceType> for Type
Source§fn from(value: DeviceType) -> Self
fn from(value: DeviceType) -> Self
Converts to this type from the input type.
Source§impl From<Type> for HardwareType
impl From<Type> for HardwareType
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)