Enum cubeb_backend::DeviceState
source · [−]pub enum DeviceState {
Disabled,
Unplugged,
Enabled,
}Expand description
The state of a device.
Variants
Disabled
The device has been disabled at the system level.
Unplugged
The device is enabled, but nothing is plugged into it.
Enabled
The device is enabled.
Trait Implementations
sourceimpl Clone for DeviceState
impl Clone for DeviceState
sourcefn clone(&self) -> DeviceState
fn clone(&self) -> DeviceState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DeviceState
impl Debug for DeviceState
sourceimpl PartialEq<DeviceState> for DeviceState
impl PartialEq<DeviceState> for DeviceState
impl Copy for DeviceState
impl Eq for DeviceState
impl StructuralEq for DeviceState
impl StructuralPartialEq for DeviceState
Auto Trait Implementations
impl RefUnwindSafe for DeviceState
impl Send for DeviceState
impl Sync for DeviceState
impl Unpin for DeviceState
impl UnwindSafe for DeviceState
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