Struct windows::Win32::Graphics::Dxgi::DXGI_ADAPTER_DESC2
#[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,
}
Fields§
§Description: [u16; 128]
§VendorId: u32
§DeviceId: u32
§SubSysId: u32
§Revision: u32
§DedicatedVideoMemory: usize
§DedicatedSystemMemory: usize
§AdapterLuid: LUID
§Flags: u32
§GraphicsPreemptionGranularity: DXGI_GRAPHICS_PREEMPTION_GRANULARITY
§ComputePreemptionGranularity: DXGI_COMPUTE_PREEMPTION_GRANULARITY
Trait Implementations§
§impl Clone for DXGI_ADAPTER_DESC2
impl Clone for DXGI_ADAPTER_DESC2
§fn clone(&self) -> DXGI_ADAPTER_DESC2
fn clone(&self) -> DXGI_ADAPTER_DESC2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for DXGI_ADAPTER_DESC2
impl Debug for DXGI_ADAPTER_DESC2
§impl Default for DXGI_ADAPTER_DESC2
impl Default for DXGI_ADAPTER_DESC2
§impl PartialEq for DXGI_ADAPTER_DESC2
impl PartialEq for DXGI_ADAPTER_DESC2
§fn eq(&self, other: &DXGI_ADAPTER_DESC2) -> bool
fn eq(&self, other: &DXGI_ADAPTER_DESC2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DXGI_ADAPTER_DESC2
impl Eq for DXGI_ADAPTER_DESC2
impl StructuralPartialEq for DXGI_ADAPTER_DESC2
Auto Trait Implementations§
impl Freeze for DXGI_ADAPTER_DESC2
impl RefUnwindSafe for DXGI_ADAPTER_DESC2
impl Send for DXGI_ADAPTER_DESC2
impl Sync for DXGI_ADAPTER_DESC2
impl Unpin for DXGI_ADAPTER_DESC2
impl UnwindSafe for DXGI_ADAPTER_DESC2
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)