#[repr(C)]pub enum GPUDeviceType {
Other = 0,
IntegratedGpu = 1,
DiscreteGpu = 2,
VirtualGpu = 3,
Cpu = 4,
}Expand description
Computing devices types
Variants§
Trait Implementations§
Source§impl Clone for GPUDeviceType
impl Clone for GPUDeviceType
Source§fn clone(&self) -> GPUDeviceType
fn clone(&self) -> GPUDeviceType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GPUDeviceType
impl Debug for GPUDeviceType
Source§impl From<DeviceType> for GPUDeviceType
impl From<DeviceType> for GPUDeviceType
Source§fn from(item: DeviceType) -> Self
fn from(item: DeviceType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GPUDeviceType
impl RefUnwindSafe for GPUDeviceType
impl Send for GPUDeviceType
impl Sync for GPUDeviceType
impl Unpin for GPUDeviceType
impl UnwindSafe for GPUDeviceType
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)