pub type PxRect = Rect<Px, Px>;Expand description
A rectangle in device pixels.
Aliased Type§
#[repr(C)]pub 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<Factor2d> for PxRect
impl DivAssign<Factor2d> for PxRect
Source§fn div_assign(&mut self, rhs: Factor2d)
fn div_assign(&mut self, rhs: Factor2d)
Performs the
/= operation. Read moreSource§impl MulAssign<Factor2d> for PxRect
impl MulAssign<Factor2d> for PxRect
Source§fn mul_assign(&mut self, rhs: Factor2d)
fn mul_assign(&mut self, rhs: Factor2d)
Performs the
*= operation. Read more