Struct rps_sys::RpsViewport
source · #[repr(C)]pub struct RpsViewport {
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
pub minZ: f32,
pub maxZ: f32,
}Expand description
Screen region to render to.
Fields§
§x: f32Left offset of the viewport.
y: f32Top offset of the viewport.
width: f32Width of the viewport.
height: f32Height of the viewport.
minZ: f32Minimum Z value of the viewport.
maxZ: f32Maximum Z value of the viewport.
Trait Implementations§
source§impl Clone for RpsViewport
impl Clone for RpsViewport
source§fn clone(&self) -> RpsViewport
fn clone(&self) -> RpsViewport
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 more