#[repr(C)]
pub struct DXGI_ADAPTER_DESC2 { pub Description: [u16; 128], pub VendorId: u32, pub DeviceId: u32, pub SubSysId: u32, pub Revision: u32, pub DedicatedVideoMemory: usize, pub DedicatedSystemMemory: usize, pub SharedSystemMemory: usize, pub AdapterLuid: LUID, pub Flags: u32, pub GraphicsPreemptionGranularity: DXGI_GRAPHICS_PREEMPTION_GRANULARITY, pub ComputePreemptionGranularity: DXGI_COMPUTE_PREEMPTION_GRANULARITY, }
Expand description

Required features: ‘Win32_Graphics_Dxgi’, ‘Win32_Foundation’

Fields

Description: [u16; 128]VendorId: u32DeviceId: u32SubSysId: u32Revision: u32DedicatedVideoMemory: usizeDedicatedSystemMemory: usizeSharedSystemMemory: usizeAdapterLuid: LUIDFlags: u32GraphicsPreemptionGranularity: DXGI_GRAPHICS_PREEMPTION_GRANULARITYComputePreemptionGranularity: DXGI_COMPUTE_PREEMPTION_GRANULARITY

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.