#[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 Freeze for D3D12_VIEWPORT
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