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