Skip to main content

Time

Type Alias Time 

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

Seconds.

Aliased Type§

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

Implementations§

Source§

impl Time

Source

pub fn s(v: f64) -> Time

Seconds.

Source

pub fn ms(v: f64) -> Time

Milliseconds.

Source

pub fn us(v: f64) -> Time

Microseconds.

Source

pub fn ns(v: f64) -> Time

Nanoseconds.

Source

pub fn in_ms(self) -> f64

As milliseconds.

Source

pub fn in_us(self) -> f64

As microseconds.

Trait Implementations§

Source§

impl Mul<QVec3<1, 0, -1, 0, 0, 0, 0>> for Time

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, v: VelocityVec) -> LengthVec

Performs the * operation. Read more
Source§

impl Mul<QVec3<1, 0, -2, 0, 0, 0, 0>> for Time

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, v: AccelerationVec) -> VelocityVec

Performs the * operation. Read more
Source§

impl Mul<QVec3<1, 1, -2, 0, 0, 0, 0>> for Time

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, v: ForceVec) -> MomentumVec

Performs the * operation. Read more
Source§

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

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current) -> Charge

Performs the * operation. Read more
Source§

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

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Frequency) -> Dimensionless

Performs the * operation. Read more
Source§

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

Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<Qty<1, 0, -2, 0, 0, 0, 0>> for Time

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Acceleration) -> Velocity

Performs the * operation. Read more
Source§

impl Mul<Qty<1, 1, -2, 0, 0, 0, 0>> for Time

Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl Mul<Qty<2, 1, -3, 0, 0, 0, 0>> for Time

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Power) -> Energy

Performs the * operation. Read more
Source§

impl Mul<Qty<2, 1, -3, 0, -1, 0, 0>> for Time

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Conductance) -> HeatCapacity

Performs the * operation. Read more