#[repr(C)]pub struct D3DVIEWPORT9 {
pub X: DWORD,
pub Y: DWORD,
pub Width: DWORD,
pub Height: DWORD,
pub MinZ: c_float,
pub MaxZ: c_float,
}
Fields§
§X: DWORD
§Y: DWORD
§Width: DWORD
§Height: DWORD
§MinZ: c_float
§MaxZ: c_float
Trait Implementations§
Source§impl Clone for D3DVIEWPORT9
impl Clone for D3DVIEWPORT9
Source§fn clone(&self) -> D3DVIEWPORT9
fn clone(&self) -> D3DVIEWPORT9
Returns a duplicate 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 moreSource§impl Default for D3DVIEWPORT9
impl Default for D3DVIEWPORT9
Source§fn default() -> D3DVIEWPORT9
fn default() -> D3DVIEWPORT9
Returns the “default value” for a type. Read more
impl Copy for D3DVIEWPORT9
Auto Trait Implementations§
impl Freeze for D3DVIEWPORT9
impl RefUnwindSafe for D3DVIEWPORT9
impl Send for D3DVIEWPORT9
impl Sync for D3DVIEWPORT9
impl Unpin for D3DVIEWPORT9
impl UnwindSafe for D3DVIEWPORT9
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