Function lyon_core::math::rect
[−]
[src]
pub fn rect<T, U>(x: T, y: T, w: T, h: T) -> TypedRect<T, U> where
T: Copy,
Shorthand for TypedRect::new(TypedPoint2D::new(x, y), TypedSize2D::new(w, h)).