pub enum GpuVendor {
Apple,
Nvidia,
Amd,
Intel,
Other,
}Expand description
Coarse GPU vendor class, derived per backend from the adapter’s reported vendor id (DirectX / Vulkan) or unified-memory / Apple-family signals (Metal). Used only to pick default quality and to gate vendor-specific options (e.g. which upscalers to offer); never persisted.
Variants§
Apple
Apple silicon.
Nvidia
NVIDIA.
Amd
AMD.
Intel
Intel.
Other
A vendor the probe does not recognise.
Trait Implementations§
impl Copy for GpuVendor
impl Eq for GpuVendor
impl StructuralPartialEq for GpuVendor
Auto Trait Implementations§
impl Freeze 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.