Type Alias zng_layout::unit::DipRect
source · pub type DipRect = Rect<Dip, Dip>;
Expand description
A rectangle in device independent pixels.
Aliased Type§
struct DipRect {
pub origin: Point2D<Dip, Dip>,
pub size: Size2D<Dip, Dip>,
}
Fields§
§origin: Point2D<Dip, Dip>
§size: Size2D<Dip, Dip>
Trait Implementations§
source§impl DivAssign<Factor2d> for DipRect
impl DivAssign<Factor2d> for DipRect
source§fn div_assign(&mut self, rhs: Factor2d)
fn div_assign(&mut self, rhs: Factor2d)
Performs the
/=
operation. Read moresource§impl MulAssign<Factor2d> for DipRect
impl MulAssign<Factor2d> for DipRect
source§fn mul_assign(&mut self, rhs: Factor2d)
fn mul_assign(&mut self, rhs: Factor2d)
Performs the
*=
operation. Read more