Struct 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: DXGI_USAGE,
pub BufferCount: u32,
pub Scaling: DXGI_SCALING,
pub SwapEffect: DXGI_SWAP_EFFECT,
pub AlphaMode: DXGI_ALPHA_MODE,
pub Flags: u32,
}Fields§
§Width: u32§Height: u32§Format: DXGI_FORMAT§Stereo: BOOL§SampleDesc: DXGI_SAMPLE_DESC§BufferUsage: DXGI_USAGE§BufferCount: u32§Scaling: DXGI_SCALING§SwapEffect: DXGI_SWAP_EFFECT§AlphaMode: DXGI_ALPHA_MODE§Flags: u32Trait Implementations§
§impl Clone for DXGI_SWAP_CHAIN_DESC1
impl Clone for DXGI_SWAP_CHAIN_DESC1
§fn clone(&self) -> DXGI_SWAP_CHAIN_DESC1
fn clone(&self) -> DXGI_SWAP_CHAIN_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_SWAP_CHAIN_DESC1
impl Debug for DXGI_SWAP_CHAIN_DESC1
§impl Default for DXGI_SWAP_CHAIN_DESC1
impl Default for DXGI_SWAP_CHAIN_DESC1
§impl PartialEq for DXGI_SWAP_CHAIN_DESC1
impl PartialEq for DXGI_SWAP_CHAIN_DESC1
impl Copy for DXGI_SWAP_CHAIN_DESC1
impl StructuralPartialEq for DXGI_SWAP_CHAIN_DESC1
Auto Trait Implementations§
impl Freeze for DXGI_SWAP_CHAIN_DESC1
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§
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