[−]Function lyon_algorithms::math::rect
pub fn rect<T, U>(x: T, y: T, w: T, h: T) -> Rect<T, U> where
T: Copy, Shorthand for Rect::new(Point2D::new(x, y), Size2D::new(w, h)).
pub fn rect<T, U>(x: T, y: T, w: T, h: T) -> Rect<T, U> where
T: Copy, Shorthand for Rect::new(Point2D::new(x, y), Size2D::new(w, h)).