Struct windows_sys::Win32::Graphics::Direct3D11::D3D11_VIEWPORT
[−]#[repr(C)]pub struct D3D11_VIEWPORT {
pub TopLeftX: f32,
pub TopLeftY: f32,
pub Width: f32,
pub Height: f32,
pub MinDepth: f32,
pub MaxDepth: f32,
}
Expand description
Required features: "Win32_Graphics_Direct3D11"
Fields
TopLeftX: f32
TopLeftY: f32
Width: f32
Height: f32
MinDepth: f32
MaxDepth: f32
Trait Implementations
impl Clone for D3D11_VIEWPORT
impl Clone for D3D11_VIEWPORT
impl Copy for D3D11_VIEWPORT
Auto Trait Implementations
impl RefUnwindSafe for D3D11_VIEWPORT
impl Send for D3D11_VIEWPORT
impl Sync for D3D11_VIEWPORT
impl Unpin for D3D11_VIEWPORT
impl UnwindSafe for D3D11_VIEWPORT
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