Skip to main content

Velocity

Type Alias Velocity 

Source
pub type Velocity = Qty<1, 0, -1, 0, 0, 0, 0>;
Expand description

Metres per second.

Aliased Type§

pub struct Velocity(/* private fields */);

Implementations§

Source§

impl Velocity

Source

pub fn m_per_s(v: f64) -> Velocity

Metres per second.

Source

pub fn mm_per_s(v: f64) -> Velocity

Millimetres per second.

Trait Implementations§

Source§

impl Div<Qty<0, 0, 1, 0, 0, 0, 0>> for Velocity

Source§

type Output = Qty<1, 0, -2, 0, 0, 0, 0>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Time) -> Acceleration

Performs the / operation. Read more
Source§

impl Div<Qty<1, 0, -2, 0, 0, 0, 0>> for Velocity

Source§

type Output = Qty<0, 0, 1, 0, 0, 0, 0>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Acceleration) -> Time

Performs the / operation. Read more
Source§

impl Mul<Qty<0, 0, 1, 0, 0, 0, 0>> for Velocity

Source§

type Output = Qty<1, 0, 0, 0, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Time) -> Length

Performs the * operation. Read more
Source§

impl Mul<Qty<0, 1, 0, 0, 0, 0, 0>> for Velocity

Source§

type Output = Qty<1, 1, -1, 0, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Mass) -> Momentum

Performs the * operation. Read more
Source§

impl Mul<Qty<0, 1, -1, 0, 0, 0, 0>> for Velocity

Source§

type Output = Qty<1, 1, -2, 0, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Damping) -> Force

Performs the * operation. Read more