pub fn to_speed(&self, value: f32) -> Velocity {
        match self.units {
            Units::Metric => Velocity::new::<millimeter_per_second>(value),
            Units::Imperial => {
                Length::new::<inch>(value) / Time::new::<second>(1.0)
            }
        }
    }
/// Convert the value to a speed, taking into account the current unit
/// system.
Convert the value to a speed, taking into account the current unit
system.
Convert the value to a speed taking into account the current unit system .
pub fn to_speed(&self, value: f32) -> Velocity {
        match self.units {
            Units::Metric => Velocity::new::<millimeter_per_second>(value),
            Units::Imperial => {
                Length::new::<inch>(value) / Time::new::<second>(1.0)
            }
        }
    }
pub fn to_speed ( & self , value : f32 ) -> Velocity { match self . units { Units :: Metric => Velocity :: new :: < millimeter_per_second > ( value ) , Units :: Imperial => { Length :: new :: < inch > ( value ) / Time :: new :: < second > ( 1.0 ) } } }
Convert the value to a speed, taking into account the current unit
system.
Convert the value to a speed taking into account the current unit system .
&self
value
f32
&self
value
f32