[−][src]Struct genpdf::Mm
A length measured in millimeters.
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
impl Mm
[src]
Trait Implementations
impl Add<Mm> for Mm
[src]
impl AddAssign<Mm> for Mm
[src]
fn add_assign(&mut self, rhs: Mm)
[src]
impl Clone for Mm
[src]
impl Copy for Mm
[src]
impl Debug for Mm
[src]
impl Default for Mm
[src]
impl<__RhsT> Div<__RhsT> for Mm where
f64: Div<__RhsT, Output = f64>,
[src]
f64: Div<__RhsT, Output = f64>,
type Output = Mm
The resulting type after applying the /
operator.
fn div(self, rhs: __RhsT) -> Mm
[src]
impl<__RhsT> DivAssign<__RhsT> for Mm where
f64: DivAssign<__RhsT>,
[src]
f64: DivAssign<__RhsT>,
fn div_assign(&mut self, rhs: __RhsT)
[src]
impl From<Mm> for f64
[src]
impl From<Mm> for Mm
[src]
impl From<Mm> for Mm
[src]
impl From<Mm> for Pt
[src]
impl From<Pt> for Mm
[src]
impl From<f32> for Mm
[src]
impl From<f64> for Mm
[src]
impl From<i16> for Mm
[src]
impl From<i32> for Mm
[src]
impl From<i8> for Mm
[src]
impl From<u16> for Mm
[src]
impl From<u32> for Mm
[src]
impl From<u8> for Mm
[src]
impl<__RhsT> Mul<__RhsT> for Mm where
f64: Mul<__RhsT, Output = f64>,
[src]
f64: Mul<__RhsT, Output = f64>,
type Output = Mm
The resulting type after applying the *
operator.
fn mul(self, rhs: __RhsT) -> Mm
[src]
impl<__RhsT> MulAssign<__RhsT> for Mm where
f64: MulAssign<__RhsT>,
[src]
f64: MulAssign<__RhsT>,
fn mul_assign(&mut self, rhs: __RhsT)
[src]
impl PartialEq<Mm> for Mm
[src]
impl PartialOrd<Mm> for Mm
[src]
fn partial_cmp(&self, other: &Mm) -> Option<Ordering>
[src]
fn lt(&self, other: &Mm) -> bool
[src]
fn le(&self, other: &Mm) -> bool
[src]
fn gt(&self, other: &Mm) -> bool
[src]
fn ge(&self, other: &Mm) -> bool
[src]
impl StructuralPartialEq for Mm
[src]
impl Sub<Mm> for Mm
[src]
impl SubAssign<Mm> for Mm
[src]
fn sub_assign(&mut self, rhs: Mm)
[src]
impl Sum<Mm> for Mm
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,