[−][src]Struct librobot::units::MilliMeter
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]
fn eq(&self, other: &MilliMeter) -> bool
[src]
fn ne(&self, other: &MilliMeter) -> bool
[src]
impl Eq for MilliMeter
[src]
impl Add<MilliMeter> for MilliMeter
[src]
type Output = MilliMeter
The resulting type after applying the +
operator.
fn add(self, rhs: MilliMeter) -> Self::Output
[src]
impl Sub<MilliMeter> for MilliMeter
[src]
type Output = MilliMeter
The resulting type after applying the -
operator.
fn sub(self, rhs: MilliMeter) -> Self::Output
[src]
impl Mul<MilliMeter> for MilliMeter
[src]
type Output = MilliMeter
The resulting type after applying the *
operator.
fn mul(self, rhs: MilliMeter) -> Self::Output
[src]
impl Div<MilliMeter> for MilliMeter
[src]
type Output = MilliMeter
The resulting type after applying the /
operator.
fn div(self, rhs: MilliMeter) -> Self::Output
[src]
impl Debug for MilliMeter
[src]
impl Display for MilliMeter
[src]
impl Copy for MilliMeter
[src]
impl Clone for MilliMeter
[src]
fn clone(&self) -> 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]
fn default() -> 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]
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self