#[repr(i32)]pub enum VendorId {
Show 19 variants
Unknown = 0,
ASUS = 4_163,
Elsa = 4_168,
Leadtek = 4_221,
Gainward = 4_272,
NVIDIA = 4_318,
Gigabyte = 5_208,
MSI = 5_218,
PNY_ = 5_451,
Palit = 5_481,
XFX = 5_762,
Club3D = 6_509,
PNY = 6_510,
Zotac = 6_618,
BFG = 6_641,
PoV = 6_860,
Galax = 6_988,
EVGA = 14_402,
Colorful = 29_559,
}Variants§
Unknown = 0
ASUS = 4_163
Elsa = 4_168
Leadtek = 4_221
Gainward = 4_272
NVIDIA = 4_318
Gigabyte = 5_208
MSI = 5_218
PNY_ = 5_451
Palit = 5_481
XFX = 5_762
Club3D = 6_509
PNY = 6_510
Zotac = 6_618
BFG = 6_641
PoV = 6_860
Galax = 6_988
EVGA = 14_402
Colorful = 29_559
Implementations§
Source§impl VendorId
impl VendorId
pub fn from_raw(raw: NV_GPU_VENDOR) -> Result<Self, ArgumentRangeError>
pub fn raw(&self) -> NV_GPU_VENDOR
pub fn values() -> Cloned<Iter<'static, Self>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VendorId
impl<'de> Deserialize<'de> for VendorId
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
Source§impl Into<i32> for VendorId
impl Into<i32> for VendorId
Source§fn into(self) -> NV_GPU_VENDOR
fn into(self) -> NV_GPU_VENDOR
Converts this type into the (usually inferred) input type.
Source§impl Ord for VendorId
impl Ord for VendorId
Source§impl PartialOrd for VendorId
impl PartialOrd for VendorId
impl Copy for VendorId
impl Eq for VendorId
impl StructuralPartialEq for VendorId
Auto Trait Implementations§
impl Freeze for VendorId
impl RefUnwindSafe for VendorId
impl Send for VendorId
impl Sync for VendorId
impl Unpin for VendorId
impl UnwindSafe for VendorId
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