[][src]Enum nvapi_sys::gpu::SystemType

#[repr(i32)]pub enum SystemType {
    Unknown,
    Laptop,
    Desktop,
}

Used in NvAPI_GPU_GetSystemType()

Variants

Unknown
Laptop
Desktop

Implementations

impl SystemType[src]

pub fn from_raw(raw: NV_SYSTEM_TYPE) -> Result<Self, ArgumentRangeError>[src]

pub fn raw(&self) -> NV_SYSTEM_TYPE[src]

pub fn values() -> Cloned<Iter<'static, Self>>[src]

Trait Implementations

impl Clone for SystemType[src]

impl Copy for SystemType[src]

impl Debug for SystemType[src]

impl<'de> Deserialize<'de> for SystemType[src]

impl Display for SystemType[src]

impl Eq for SystemType[src]

impl Hash for SystemType[src]

impl Into<i32> for SystemType[src]

impl Ord for SystemType[src]

impl PartialEq<SystemType> for SystemType[src]

impl PartialOrd<SystemType> for SystemType[src]

impl Serialize for SystemType[src]

impl StructuralEq for SystemType[src]

impl StructuralPartialEq for SystemType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.