pub enum DeviceAim {
Input,
Output,
}Expand description
Used to identify devices as input or output. In this library
all devices are either input or output. If a physical device supports
both it is exposed as two devices with the same id, but with different
aims returned by Device::aim().
Variants§
Trait Implementations§
Source§impl From<DeviceAim> for SoundIoDeviceAim
impl From<DeviceAim> for SoundIoDeviceAim
Source§fn from(aim: DeviceAim) -> SoundIoDeviceAim
fn from(aim: DeviceAim) -> SoundIoDeviceAim
Converts to this type from the input type.
Source§impl From<SoundIoDeviceAim> for DeviceAim
impl From<SoundIoDeviceAim> for DeviceAim
Source§fn from(aim: SoundIoDeviceAim) -> DeviceAim
fn from(aim: SoundIoDeviceAim) -> DeviceAim
Converts to this type from the input type.
impl Copy for DeviceAim
impl Eq for DeviceAim
impl StructuralPartialEq for DeviceAim
Auto Trait Implementations§
impl Freeze for DeviceAim
impl RefUnwindSafe for DeviceAim
impl Send for DeviceAim
impl Sync for DeviceAim
impl Unpin for DeviceAim
impl UnsafeUnpin for DeviceAim
impl UnwindSafe for DeviceAim
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