Struct windows::Win32::Graphics::Direct3D9::D3DPRESENT_PARAMETERS
#[repr(C)]pub struct D3DPRESENT_PARAMETERS {Show 14 fields
pub BackBufferWidth: u32,
pub BackBufferHeight: u32,
pub BackBufferFormat: D3DFORMAT,
pub BackBufferCount: u32,
pub MultiSampleType: D3DMULTISAMPLE_TYPE,
pub MultiSampleQuality: u32,
pub SwapEffect: D3DSWAPEFFECT,
pub hDeviceWindow: HWND,
pub Windowed: BOOL,
pub EnableAutoDepthStencil: BOOL,
pub AutoDepthStencilFormat: D3DFORMAT,
pub Flags: u32,
pub FullScreen_RefreshRateInHz: u32,
pub PresentationInterval: u32,
}
Fields§
§BackBufferWidth: u32
§BackBufferHeight: u32
§BackBufferFormat: D3DFORMAT
§BackBufferCount: u32
§MultiSampleType: D3DMULTISAMPLE_TYPE
§MultiSampleQuality: u32
§SwapEffect: D3DSWAPEFFECT
§hDeviceWindow: HWND
§Windowed: BOOL
§EnableAutoDepthStencil: BOOL
§AutoDepthStencilFormat: D3DFORMAT
§Flags: u32
§FullScreen_RefreshRateInHz: u32
§PresentationInterval: u32
Trait Implementations§
§impl Clone for D3DPRESENT_PARAMETERS
impl Clone for D3DPRESENT_PARAMETERS
§fn clone(&self) -> D3DPRESENT_PARAMETERS
fn clone(&self) -> D3DPRESENT_PARAMETERS
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 D3DPRESENT_PARAMETERS
impl Debug for D3DPRESENT_PARAMETERS
§impl Default for D3DPRESENT_PARAMETERS
impl Default for D3DPRESENT_PARAMETERS
§impl PartialEq for D3DPRESENT_PARAMETERS
impl PartialEq for D3DPRESENT_PARAMETERS
§fn eq(&self, other: &D3DPRESENT_PARAMETERS) -> bool
fn eq(&self, other: &D3DPRESENT_PARAMETERS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for D3DPRESENT_PARAMETERS
impl Eq for D3DPRESENT_PARAMETERS
impl StructuralPartialEq for D3DPRESENT_PARAMETERS
Auto Trait Implementations§
impl Freeze for D3DPRESENT_PARAMETERS
impl RefUnwindSafe for D3DPRESENT_PARAMETERS
impl !Send for D3DPRESENT_PARAMETERS
impl !Sync for D3DPRESENT_PARAMETERS
impl Unpin for D3DPRESENT_PARAMETERS
impl UnwindSafe for D3DPRESENT_PARAMETERS
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
)