Trait uom::si::marker::AngleKind

source ·
pub trait AngleKind: Kind { }
Expand description

AngleKind is a Kind for separating angular quantities from their identically dimensioned non-angular quantity counterparts. Conversions to and from AngleKind quantities are supported through implementations of the From trait.

let a: Angle = Angle::new::<radian>(1.0);
let r: Ratio = a.into();

Implementors§