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