Struct gpu_allocator::d3d12::winapi_d3d12::D3D12_VIEWPORT
source · #[repr(C)]pub struct D3D12_VIEWPORT {
pub TopLeftX: f32,
pub TopLeftY: f32,
pub Width: f32,
pub Height: f32,
pub MinDepth: f32,
pub MaxDepth: f32,
}
Fields§
§TopLeftX: f32
§TopLeftY: f32
§Width: f32
§Height: f32
§MinDepth: f32
§MaxDepth: f32
Trait Implementations§
source§impl Clone for D3D12_VIEWPORT
impl Clone for D3D12_VIEWPORT
source§fn clone(&self) -> D3D12_VIEWPORT
fn clone(&self) -> D3D12_VIEWPORT
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 moresource§impl Default for D3D12_VIEWPORT
impl Default for D3D12_VIEWPORT
source§fn default() -> D3D12_VIEWPORT
fn default() -> D3D12_VIEWPORT
Returns the “default value” for a type. Read more
impl Copy for D3D12_VIEWPORT
Auto Trait Implementations§
impl RefUnwindSafe for D3D12_VIEWPORT
impl Send for D3D12_VIEWPORT
impl Sync for D3D12_VIEWPORT
impl Unpin for D3D12_VIEWPORT
impl UnwindSafe for D3D12_VIEWPORT
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