pub struct Mm(pub f32);
Expand description
Scale in millimeter
Tuple Fields§
§0: f32
Implementations§
Trait Implementations§
source§impl AddAssign for Mm
impl AddAssign for Mm
source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+=
operation. Read moresource§impl DivAssign<f32> for Mm
impl DivAssign<f32> for Mm
source§fn div_assign(&mut self, other: f32)
fn div_assign(&mut self, other: f32)
Performs the
/=
operation. Read moresource§impl MulAssign<f32> for Mm
impl MulAssign<f32> for Mm
source§fn mul_assign(&mut self, other: f32)
fn mul_assign(&mut self, other: f32)
Performs the
*=
operation. Read moresource§impl Ord for Mm
impl Ord for Mm
source§impl PartialOrd for Mm
impl PartialOrd 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 for Mm
impl SubAssign for Mm
source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-=
operation. Read moreimpl Copy for Mm
impl Eq for Mm
Auto Trait Implementations§
impl RefUnwindSafe for Mm
impl Send for Mm
impl Sync for Mm
impl Unpin for Mm
impl UnwindSafe for Mm
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more