Struct winsafe::DXGI_ADAPTER_DESC
source · #[repr(C)]pub struct DXGI_ADAPTER_DESC {
pub VendorId: u32,
pub DeviceId: u32,
pub SubSysId: u32,
pub Revision: u32,
pub DedicatedVideoMemory: usize,
pub DedicatedSystemMemory: usize,
pub SharedSystemMemory: usize,
pub AdapterLuid: LUID,
/* private fields */
}
Available on crate feature
dxgi
only.Expand description
DXGI_ADAPTER_DESC
struct.
Fields§
§VendorId: u32
§DeviceId: u32
§SubSysId: u32
§Revision: u32
§DedicatedVideoMemory: usize
§DedicatedSystemMemory: usize
§AdapterLuid: LUID
Implementations§
source§impl DXGI_ADAPTER_DESC
impl DXGI_ADAPTER_DESC
sourcepub fn Description(&self) -> String
pub fn Description(&self) -> String
Returns the string field.
sourcepub fn set_Description(&mut self, text: &str)
pub fn set_Description(&mut self, text: &str)
Sets the string field.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DXGI_ADAPTER_DESC
impl RefUnwindSafe for DXGI_ADAPTER_DESC
impl Send for DXGI_ADAPTER_DESC
impl Sync for DXGI_ADAPTER_DESC
impl Unpin for DXGI_ADAPTER_DESC
impl UnwindSafe for DXGI_ADAPTER_DESC
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