Enum cpal::platform::DeviceInner
source · pub enum DeviceInner {
Alsa(Device),
}
Expand description
Contains a platform specific Device
implementation.
Variants§
Trait Implementations§
source§impl Clone for DeviceInner
impl Clone for DeviceInner
source§fn clone(&self) -> DeviceInner
fn clone(&self) -> DeviceInner
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 From<DeviceInner> for Device
impl From<DeviceInner> for Device
source§fn from(d: DeviceInner) -> Self
fn from(d: DeviceInner) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeviceInner
impl RefUnwindSafe for DeviceInner
impl Send for DeviceInner
impl Sync for DeviceInner
impl Unpin for DeviceInner
impl UnwindSafe for DeviceInner
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
)