#[repr(i32)]pub enum RamType {
Unknown = 0,
SDRAM = 1,
DDR1 = 2,
DDR2 = 3,
GDDR2 = 4,
GDDR3 = 5,
GDDR4 = 6,
DDR3 = 7,
GDDR5 = 8,
LPDDR2 = 9,
GDDR5X = 10,
}Expand description
Undocumented function NvAPI_GPU_GetRamType()
Variants§
Unknown = 0
SDRAM = 1
DDR1 = 2
DDR2 = 3
GDDR2 = 4
GDDR3 = 5
GDDR4 = 6
DDR3 = 7
GDDR5 = 8
LPDDR2 = 9
GDDR5X = 10
Implementations§
Source§impl RamType
impl RamType
pub fn from_raw(raw: NV_GPU_RAM_TYPE) -> Result<Self, ArgumentRangeError>
pub fn raw(&self) -> NV_GPU_RAM_TYPE
pub fn values() -> Cloned<Iter<'static, Self>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RamType
impl<'de> Deserialize<'de> for RamType
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 RamType
impl Into<i32> for RamType
Source§fn into(self) -> NV_GPU_RAM_TYPE
fn into(self) -> NV_GPU_RAM_TYPE
Converts this type into the (usually inferred) input type.
Source§impl Ord for RamType
impl Ord for RamType
Source§impl PartialOrd for RamType
impl PartialOrd for RamType
impl Copy for RamType
impl Eq for RamType
impl StructuralPartialEq for RamType
Auto Trait Implementations§
impl Freeze for RamType
impl RefUnwindSafe for RamType
impl Send for RamType
impl Sync for RamType
impl Unpin for RamType
impl UnwindSafe for RamType
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