Struct windows_sys::Win32::Graphics::Dxgi::DXGI_SWAP_CHAIN_DESC1
[−]#[repr(C)]pub struct DXGI_SWAP_CHAIN_DESC1 {
pub Width: u32,
pub Height: u32,
pub Format: DXGI_FORMAT,
pub Stereo: BOOL,
pub SampleDesc: DXGI_SAMPLE_DESC,
pub BufferUsage: u32,
pub BufferCount: u32,
pub Scaling: DXGI_SCALING,
pub SwapEffect: DXGI_SWAP_EFFECT,
pub AlphaMode: DXGI_ALPHA_MODE,
pub Flags: u32,
}
Expand description
Required features: "Win32_Graphics_Dxgi"
, "Win32_Foundation"
, "Win32_Graphics_Dxgi_Common"
Fields
Width: u32
Height: u32
Format: DXGI_FORMAT
Stereo: BOOL
SampleDesc: DXGI_SAMPLE_DESC
BufferUsage: u32
BufferCount: u32
Scaling: DXGI_SCALING
SwapEffect: DXGI_SWAP_EFFECT
AlphaMode: DXGI_ALPHA_MODE
Flags: u32
Trait Implementations
impl Clone for DXGI_SWAP_CHAIN_DESC1
impl Clone for DXGI_SWAP_CHAIN_DESC1
impl Copy for DXGI_SWAP_CHAIN_DESC1
Auto Trait Implementations
impl RefUnwindSafe for DXGI_SWAP_CHAIN_DESC1
impl Send for DXGI_SWAP_CHAIN_DESC1
impl Sync for DXGI_SWAP_CHAIN_DESC1
impl Unpin for DXGI_SWAP_CHAIN_DESC1
impl UnwindSafe for DXGI_SWAP_CHAIN_DESC1
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more