Struct windows::Win32::Graphics::Dxgi::DXGI_MODE_DESC1
#[repr(C)]pub struct DXGI_MODE_DESC1 {
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,
pub Stereo: BOOL,
}
Fields§
§Width: u32
§Height: u32
§RefreshRate: DXGI_RATIONAL
§Format: DXGI_FORMAT
§ScanlineOrdering: DXGI_MODE_SCANLINE_ORDER
§Scaling: DXGI_MODE_SCALING
§Stereo: BOOL
Trait Implementations§
§impl Clone for DXGI_MODE_DESC1
impl Clone for DXGI_MODE_DESC1
§fn clone(&self) -> DXGI_MODE_DESC1
fn clone(&self) -> DXGI_MODE_DESC1
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_MODE_DESC1
impl Debug for DXGI_MODE_DESC1
§impl Default for DXGI_MODE_DESC1
impl Default for DXGI_MODE_DESC1
§impl PartialEq for DXGI_MODE_DESC1
impl PartialEq for DXGI_MODE_DESC1
§fn eq(&self, other: &DXGI_MODE_DESC1) -> bool
fn eq(&self, other: &DXGI_MODE_DESC1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DXGI_MODE_DESC1
impl Eq for DXGI_MODE_DESC1
impl StructuralPartialEq for DXGI_MODE_DESC1
Auto Trait Implementations§
impl Freeze for DXGI_MODE_DESC1
impl RefUnwindSafe for DXGI_MODE_DESC1
impl Send for DXGI_MODE_DESC1
impl Sync for DXGI_MODE_DESC1
impl Unpin for DXGI_MODE_DESC1
impl UnwindSafe for DXGI_MODE_DESC1
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
)