Struct simple_units::conversion::Kilometer [] [src]

pub struct Kilometer(pub f64);

Trait Implementations

impl Debug for Kilometer
[src]

Formats the value using the given formatter.

impl Clone for Kilometer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Kilometer
[src]

impl PartialEq for Kilometer
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Add for Kilometer
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub for Kilometer
[src]

The resulting type after applying the - operator

The method for the - operator

impl Mul<f64> for Kilometer
[src]

The resulting type after applying the * operator

The method for the * operator

impl Div<f64> for Kilometer
[src]

The resulting type after applying the / operator

The method for the / operator

impl Div<Kilometer> for Kilometer
[src]

The resulting type after applying the / operator

The method for the / operator

impl From<Meter> for Kilometer
[src]

Performs the conversion.