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