#[repr(C)]pub struct D3D12_VIEWPORT {
pub TopLeftX: FLOAT,
pub TopLeftY: FLOAT,
pub Width: FLOAT,
pub Height: FLOAT,
pub MinDepth: FLOAT,
pub MaxDepth: FLOAT,
}
Fields§
§TopLeftX: FLOAT
§TopLeftY: FLOAT
§Width: FLOAT
§Height: FLOAT
§MinDepth: FLOAT
§MaxDepth: FLOAT
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 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 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