pub struct Millimeters(/* private fields */);Expand description
Distance in millimeters.
Implementations§
Source§impl Millimeters
impl Millimeters
Trait Implementations§
Source§impl Add for Millimeters
impl Add for Millimeters
Source§type Output = Millimeters
type Output = Millimeters
The resulting type after applying the
+ operator.Source§fn add(self, rhs: Millimeters) -> Millimeters
fn add(self, rhs: Millimeters) -> Millimeters
Performs the
+ operation. Read moreSource§impl Clone for Millimeters
impl Clone for Millimeters
Source§fn clone(&self) -> Millimeters
fn clone(&self) -> Millimeters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Millimeters
Source§impl Debug for Millimeters
impl Debug for Millimeters
Source§impl Default for Millimeters
impl Default for Millimeters
Source§fn default() -> Millimeters
fn default() -> Millimeters
Returns the “default value” for a type. Read more
Source§impl Div<f32> for Millimeters
impl Div<f32> for Millimeters
Source§type Output = Millimeters
type Output = Millimeters
The resulting type after applying the
/ operator.Source§impl From<f32> for Millimeters
impl From<f32> for Millimeters
Source§impl From<i32> for Millimeters
impl From<i32> for Millimeters
Source§impl Mul<f32> for Millimeters
impl Mul<f32> for Millimeters
Source§type Output = Millimeters
type Output = Millimeters
The resulting type after applying the
* operator.Source§impl PartialEq for Millimeters
impl PartialEq for Millimeters
Source§fn eq(&self, other: &Millimeters) -> bool
fn eq(&self, other: &Millimeters) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Millimeters
impl PartialOrd for Millimeters
impl StructuralPartialEq for Millimeters
Source§impl Sub for Millimeters
impl Sub for Millimeters
Source§type Output = Millimeters
type Output = Millimeters
The resulting type after applying the
- operator.Source§fn sub(self, rhs: Millimeters) -> Millimeters
fn sub(self, rhs: Millimeters) -> Millimeters
Performs the
- operation. Read moreAuto Trait Implementations§
impl Freeze for Millimeters
impl RefUnwindSafe for Millimeters
impl Send for Millimeters
impl Sync for Millimeters
impl Unpin for Millimeters
impl UnsafeUnpin for Millimeters
impl UnwindSafe for Millimeters
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