Struct windows_sys::Devices::Enumeration::DeviceClass
[−]#[repr(transparent)]pub struct DeviceClass(pub i32);
Expand description
Required features: "Devices_Enumeration"
Tuple Fields
0: i32
Implementations
impl DeviceClass
impl DeviceClass
pub const All: Self = Self(0i32)
pub const AudioCapture: Self = Self(1i32)
pub const AudioRender: Self = Self(2i32)
pub const PortableStorageDevice: Self = Self(3i32)
pub const VideoCapture: Self = Self(4i32)
pub const ImageScanner: Self = Self(5i32)
pub const Location: Self = Self(6i32)
Trait Implementations
impl Clone for DeviceClass
impl Clone for DeviceClass
impl Copy for DeviceClass
Auto Trait Implementations
impl RefUnwindSafe for DeviceClass
impl Send for DeviceClass
impl Sync for DeviceClass
impl Unpin for DeviceClass
impl UnwindSafe for DeviceClass
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