Number

Type Alias Number 

Source
pub type Number<T> = HNumber<T>;

Aliased Type§

pub struct Number<T> { /* private fields */ }

Implementations§

Source§

impl<T: Float + Display> Number<T>

Source

pub fn new(num: T, unit: Option<HUnit>) -> Self

Source

pub fn val(&self) -> T