#[repr(i32)]pub enum Foundry {
Unknown = 0,
TSMC = 1,
UMC = 2,
IBM = 3,
SMIC = 4,
CSM = 5,
Toshiba = 6,
}Expand description
Undocumented function NvAPI_GPU_GetFoundry()
Variants§
Implementations§
Source§impl Foundry
impl Foundry
pub fn from_raw(raw: NV_GPU_FOUNDRY) -> Result<Self, ArgumentRangeError>
pub fn raw(&self) -> NV_GPU_FOUNDRY
pub fn values() -> Cloned<Iter<'static, Self>>
Trait Implementations§
impl Copy for Foundry
Source§impl<'de> Deserialize<'de> for Foundry
impl<'de> Deserialize<'de> for Foundry
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 Foundry
Source§impl Into<i32> for Foundry
impl Into<i32> for Foundry
Source§fn into(self) -> NV_GPU_FOUNDRY
fn into(self) -> NV_GPU_FOUNDRY
Converts this type into the (usually inferred) input type.
Source§impl Ord for Foundry
impl Ord for Foundry
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Foundry
impl PartialOrd for Foundry
impl StructuralPartialEq for Foundry
Auto Trait Implementations§
impl Freeze for Foundry
impl RefUnwindSafe for Foundry
impl Send for Foundry
impl Sync for Foundry
impl Unpin for Foundry
impl UnsafeUnpin for Foundry
impl UnwindSafe for Foundry
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