Skip to main content

VelocityVec

Type Alias VelocityVec 

Source
pub type VelocityVec = QVec3<1, 0, -1, 0, 0, 0, 0>;
Expand description

A velocity, m·s⁻¹.

Aliased Type§

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

Implementations§

Source§

impl VelocityVec

Source

pub fn mm_per_s(x: f64, y: f64, z: f64) -> VelocityVec

Millimetres per second.

Source

pub fn m_per_s(x: f64, y: f64, z: f64) -> VelocityVec

Metres per second.

Trait Implementations§

Source§

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

Source§

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

The resulting type after applying the / operator.
Source§

fn div(self, k: Time) -> AccelerationVec

Performs the / operation. Read more
Source§

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

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, k: Time) -> LengthVec

Performs the * operation. Read more
Source§

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

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, k: Mass) -> MomentumVec

Performs the * operation. Read more
Source§

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

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, k: Damping) -> ForceVec

Performs the * operation. Read more