Trait uom::si::marker::InformationKind

source ·
pub trait InformationKind: Kind { }
Expand description

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

let i: Information = Information::new::<kilobyte>(1.0);
let r: Ratio = i.into();

Implementors§