pub type PxVector = Vector2D<Px, Px>;
Expand description
A vector in device pixels.
Aliased Type§
struct PxVector {
pub x: Px,
pub y: Px,
}
Fields§
§x: Px
The x
(traditionally, horizontal) coordinate.
y: Px
The y
(traditionally, vertical) coordinate.
Trait Implementations§
source§impl DivAssign<Factor> for PxVector
impl DivAssign<Factor> for PxVector
source§fn div_assign(&mut self, rhs: Factor)
fn div_assign(&mut self, rhs: Factor)
Performs the
/=
operation. Read more