pub type PxVector = Vector2D<Px, Px>;Expand description
A vector in device pixels.
Aliased Type§
#[repr(C)]pub struct PxVector {
pub x: Px,
pub y: Px,
}Fields§
§x: PxThe x (traditionally, horizontal) coordinate.
y: PxThe 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