Struct rckive_genpdf::Scale
source · Expand description
A size to stretch an image on a PDF layer; measured in percentage.
Fields§
§x: f64
The percentage to scale on the x-axis.
y: f64
The percentage to scale on the y-axis.
Implementations§
Trait Implementations§
source§impl AddAssign<Scale> for Scale
impl AddAssign<Scale> for Scale
source§fn add_assign(&mut self, rhs: Scale)
fn add_assign(&mut self, rhs: Scale)
Performs the
+=
operation. Read moresource§impl PartialOrd<Scale> for Scale
impl PartialOrd<Scale> for Scale
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<Scale> for Scale
impl SubAssign<Scale> for Scale
source§fn sub_assign(&mut self, rhs: Scale)
fn sub_assign(&mut self, rhs: Scale)
Performs the
-=
operation. Read more