Struct mltg_bindings::Windows::Win32::Graphics::Direct3D11::D3D11_VIEWPORT [−][src]
#[repr(C)]pub struct D3D11_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
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
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
Mutably borrows from an owned value. Read more