pub type PxRect = Rect<Px, Px>;
Expand description
A rectangle in device pixels.
Aliased Type§
struct PxRect {
pub origin: Point2D<Px, Px>,
pub size: Size2D<Px, Px>,
}
Fields§
§origin: Point2D<Px, Px>
§size: Size2D<Px, Px>
Trait Implementations§
source§impl DivAssign<Factor> for PxRect
impl DivAssign<Factor> for PxRect
source§fn div_assign(&mut self, rhs: Factor)
fn div_assign(&mut self, rhs: Factor)
Performs the
/=
operation. Read more