Struct windows::Win32::Graphics::Direct3D9::D3DVIEWPORT
#[repr(C)]pub struct D3DVIEWPORT {
pub dwSize: u32,
pub dwX: u32,
pub dwY: u32,
pub dwWidth: u32,
pub dwHeight: u32,
pub dvScaleX: f32,
pub dvScaleY: f32,
pub dvMaxX: f32,
pub dvMaxY: f32,
pub dvMinZ: f32,
pub dvMaxZ: f32,
}
Fields§
§dwSize: u32
§dwX: u32
§dwY: u32
§dwWidth: u32
§dwHeight: u32
§dvScaleX: f32
§dvScaleY: f32
§dvMaxX: f32
§dvMaxY: f32
§dvMinZ: f32
§dvMaxZ: f32
Trait Implementations§
§impl Clone for D3DVIEWPORT
impl Clone for D3DVIEWPORT
§fn clone(&self) -> D3DVIEWPORT
fn clone(&self) -> D3DVIEWPORT
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 D3DVIEWPORT
impl Debug for D3DVIEWPORT
§impl PartialEq for D3DVIEWPORT
impl PartialEq for D3DVIEWPORT
§fn eq(&self, other: &D3DVIEWPORT) -> bool
fn eq(&self, other: &D3DVIEWPORT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for D3DVIEWPORT
impl StructuralPartialEq for D3DVIEWPORT
Auto Trait Implementations§
impl Freeze for D3DVIEWPORT
impl RefUnwindSafe for D3DVIEWPORT
impl Send for D3DVIEWPORT
impl Sync for D3DVIEWPORT
impl Unpin for D3DVIEWPORT
impl UnwindSafe for D3DVIEWPORT
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
)