#[non_exhaustive]pub enum GpuVendor {
Nvidia,
Amd,
Intel,
Apple,
Qualcomm,
Arm,
Microsoft,
Vmware,
Other,
}Expand description
Who made a graphics adapter.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Nvidia
NVIDIA.
Amd
AMD.
Intel
Intel.
Apple
Apple.
Qualcomm
Qualcomm.
Arm
Arm (Mali).
Microsoft
Microsoft (the basic display adapter, Hyper-V).
Vmware
VMware.
Other
Anyone else.
Implementations§
Trait Implementations§
impl Copy for GpuVendor
impl Eq for GpuVendor
impl StructuralPartialEq for GpuVendor
Auto Trait Implementations§
impl Forget for GpuVendor
impl Freeze for GpuVendor
impl Move for GpuVendor
impl RefUnwindSafe for GpuVendor
impl Send for GpuVendor
impl Sync for GpuVendor
impl Unpin for GpuVendor
impl UnsafeUnpin for GpuVendor
impl UnwindSafe for GpuVendor
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