pub enum GPUType {
Discrete,
Integrated,
Workstation,
Datacenter,
Virtual,
Unknown,
}
Expand description
GPU type classification
Variants§
Discrete
Consumer discrete GPU
Integrated
Integrated GPU
Workstation
Workstation GPU (Quadro, RadeonPro, etc.)
Datacenter
Datacenter GPU (Tesla, Instinct, etc.)
Virtual
Virtual GPU
Unknown
Unknown type
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GPUType
impl<'de> Deserialize<'de> for GPUType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GPUType
impl StructuralPartialEq for GPUType
Auto Trait Implementations§
impl Freeze for GPUType
impl RefUnwindSafe for GPUType
impl Send for GPUType
impl Sync for GPUType
impl Unpin for GPUType
impl UnwindSafe for GPUType
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