Velocity

Type Alias Velocity 

Source
pub type Velocity<N, D> = Quantity<Per<N, D>>;
Expand description

A velocity quantity parameterized by length and time units.

§Examples

use qtty_core::length::{Kilometer, Meter};
use qtty_core::time::{Second, Hour};
use qtty_core::velocity::Velocity;

let v1: Velocity<Meter, Second> = Velocity::new(10.0);
let v2: Velocity<Kilometer, Hour> = Velocity::new(36.0);

Aliased Type§

pub struct Velocity<N, D>(/* private fields */);