[][src]Struct librobot::units::MilliMeter

pub struct MilliMeter(pub i64);

Une longueur exprimée en millimètre

Methods

impl MilliMeter[src]

pub fn as_meters(self) -> i64[src]

Récupère la valeur en mètre

pub fn as_centimeters(self) -> i64[src]

Récupère la valeur en centimètre

pub fn as_millimeters(self) -> i64[src]

Récupère la valeur en millimètre

Trait Implementations

impl PartialEq<MilliMeter> for MilliMeter[src]

impl Eq for MilliMeter[src]

impl Add<MilliMeter> for MilliMeter[src]

type Output = MilliMeter

The resulting type after applying the + operator.

impl Sub<MilliMeter> for MilliMeter[src]

type Output = MilliMeter

The resulting type after applying the - operator.

impl Mul<MilliMeter> for MilliMeter[src]

type Output = MilliMeter

The resulting type after applying the * operator.

impl Div<MilliMeter> for MilliMeter[src]

type Output = MilliMeter

The resulting type after applying the / operator.

impl Debug for MilliMeter[src]

impl Display for MilliMeter[src]

impl Copy for MilliMeter[src]

impl Clone for MilliMeter[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for MilliMeter[src]

Auto Trait Implementations

impl Send for MilliMeter

impl Sync for MilliMeter

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self