Skip to main content

PortableRect

Type Alias PortableRect 

Source
pub type PortableRect = Rect<f32>;
Expand description

Portable rectangle type. origin is the top-left corner; size is the rect extent. Uses f32 throughout.

Aliased Type§

#[repr(C)]
pub struct PortableRect { pub origin: Point2D<f32, UnknownUnit>, pub size: Size2D<f32, UnknownUnit>, }

Fields§

§origin: Point2D<f32, UnknownUnit>§size: Size2D<f32, UnknownUnit>