[][src]Struct dxplr::dxgi::AdapterDesc2

pub struct AdapterDesc2 {
    pub description: String,
    pub vendor_id: u32,
    pub device_id: u32,
    pub sub_sys_id: u32,
    pub revision: u32,
    pub dedicated_video_memory: usize,
    pub dedicated_system_memory: usize,
    pub shared_system_memory: usize,
    pub adapter_luid: Luid,
    pub flags: AdapterFlag,
    pub graphics_preemption_granularity: GraphicsPreemptionGranularity,
    pub compute_preemption_granularity: ComputePreemptionGranularity,
}

Fields

description: Stringvendor_id: u32device_id: u32sub_sys_id: u32revision: u32dedicated_video_memory: usizededicated_system_memory: usizeshared_system_memory: usizeadapter_luid: Luidflags: AdapterFlaggraphics_preemption_granularity: GraphicsPreemptionGranularitycompute_preemption_granularity: ComputePreemptionGranularity

Trait Implementations

impl Clone for AdapterDesc2[src]

impl Debug for AdapterDesc2[src]

impl From<DXGI_ADAPTER_DESC2> for AdapterDesc2[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> 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, 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.