Struct rckive_genpdf::Mm
source · pub struct Mm(_);
Expand description
A length measured in millimeters.
rckive_genpdf
always uses millimeters as its length unit, except for the font size that is measured
in points.
If you want to convert pixels or points into millimeters, you can use the printpdf::Pt
and printpdf::Px
types.
Implementations§
Trait Implementations§
source§impl AddAssign<Mm> for Mm
impl AddAssign<Mm> for Mm
source§fn add_assign(&mut self, rhs: Mm)
fn add_assign(&mut self, rhs: Mm)
Performs the
+=
operation. Read moresource§impl<__RhsT> DivAssign<__RhsT> for Mmwhere
f64: DivAssign<__RhsT>,
impl<__RhsT> DivAssign<__RhsT> for Mmwhere
f64: DivAssign<__RhsT>,
source§fn div_assign(&mut self, rhs: __RhsT)
fn div_assign(&mut self, rhs: __RhsT)
Performs the
/=
operation. Read moresource§impl<__RhsT> MulAssign<__RhsT> for Mmwhere
f64: MulAssign<__RhsT>,
impl<__RhsT> MulAssign<__RhsT> for Mmwhere
f64: MulAssign<__RhsT>,
source§fn mul_assign(&mut self, rhs: __RhsT)
fn mul_assign(&mut self, rhs: __RhsT)
Performs the
*=
operation. Read moresource§impl PartialOrd<Mm> for Mm
impl PartialOrd<Mm> for Mm
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<Mm> for Mm
impl SubAssign<Mm> for Mm
source§fn sub_assign(&mut self, rhs: Mm)
fn sub_assign(&mut self, rhs: Mm)
Performs the
-=
operation. Read more