Struct windows_sys::Media::Devices::AudioDeviceRole
[−]#[repr(transparent)]pub struct AudioDeviceRole(pub i32);
Expand description
Required features: "Media_Devices"
Tuple Fields
0: i32
Implementations
impl AudioDeviceRole
impl AudioDeviceRole
pub const Default: Self = Self(0i32)
pub const Communications: Self = Self(1i32)
Trait Implementations
impl Clone for AudioDeviceRole
impl Clone for AudioDeviceRole
impl Copy for AudioDeviceRole
Auto Trait Implementations
impl RefUnwindSafe for AudioDeviceRole
impl Send for AudioDeviceRole
impl Sync for AudioDeviceRole
impl Unpin for AudioDeviceRole
impl UnwindSafe for AudioDeviceRole
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