Struct rckive_genpdf::Position
source · Expand description
A position on a PDF layer, measured in millimeters.
All positions used by rckive_genpdf
are measured from the top left corner of the reference area.
Fields§
§x: Mm
The x coordinate of the position, measured from the left border of the reference area.
y: Mm
The y coordinate of the position, measured from the top border of the reference area.
Implementations§
Trait Implementations§
source§impl AddAssign<Position> for Position
impl AddAssign<Position> for Position
source§fn add_assign(&mut self, rhs: Position)
fn add_assign(&mut self, rhs: Position)
Performs the
+=
operation. Read moresource§impl PartialOrd<Position> for Position
impl PartialOrd<Position> for Position
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl SubAssign<Position> for Position
impl SubAssign<Position> for Position
source§fn sub_assign(&mut self, rhs: Position)
fn sub_assign(&mut self, rhs: Position)
Performs the
-=
operation. Read more