pub enum DeviceType {
Other = 0,
IntegratedGPU = 1,
DiscreteGPU = 2,
VirtualGPU = 3,
CPU = 4,
Unknown = 5,
}
Expand description
Represents the type of device.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceType
impl RefUnwindSafe for DeviceType
impl Send for DeviceType
impl Sync for DeviceType
impl Unpin for DeviceType
impl UnwindSafe for DeviceType
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