Struct winsafe::DXGI_MODE_DESC
source · #[repr(C)]pub struct DXGI_MODE_DESC {
pub Width: u32,
pub Height: u32,
pub RefreshRate: DXGI_RATIONAL,
pub Format: DXGI_FORMAT,
pub ScanlineOrdering: DXGI_MODE_SCANLINE_ORDER,
pub Scaling: DXGI_MODE_SCALING,
}
Available on crate feature
dxgi
only.Expand description
DXGI_MODE_DESC
struct.
Fields§
§Width: u32
§Height: u32
§RefreshRate: DXGI_RATIONAL
§Format: DXGI_FORMAT
§ScanlineOrdering: DXGI_MODE_SCANLINE_ORDER
§Scaling: DXGI_MODE_SCALING
Trait Implementations§
source§impl Clone for DXGI_MODE_DESC
impl Clone for DXGI_MODE_DESC
source§fn clone(&self) -> DXGI_MODE_DESC
fn clone(&self) -> DXGI_MODE_DESC
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 moresource§impl Default for DXGI_MODE_DESC
impl Default for DXGI_MODE_DESC
source§fn default() -> DXGI_MODE_DESC
fn default() -> DXGI_MODE_DESC
Returns the “default value” for a type. Read more
source§impl PartialEq for DXGI_MODE_DESC
impl PartialEq for DXGI_MODE_DESC
source§fn eq(&self, other: &DXGI_MODE_DESC) -> bool
fn eq(&self, other: &DXGI_MODE_DESC) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DXGI_MODE_DESC
impl StructuralPartialEq for DXGI_MODE_DESC
Auto Trait Implementations§
impl Freeze for DXGI_MODE_DESC
impl RefUnwindSafe for DXGI_MODE_DESC
impl Send for DXGI_MODE_DESC
impl Sync for DXGI_MODE_DESC
impl Unpin for DXGI_MODE_DESC
impl UnwindSafe for DXGI_MODE_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