Type Alias diman::Product

source ·
pub type Product<Q1> = <Q1 as QProduct>::Output;
Expand description

Constructs a product of quantities for one-off quantities.

let x: Product<(Length, Time)> = Length::meters(10.0) * Time::seconds(2.0);
let y: Product<(Length, Time, Velocity)> = Area::square_meters(5.0);