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<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