Trait widgetry::widgets::plots::Axis [−][src]
pub trait Axis<T>: 'static + Copy + Ord + Default { fn from_percent(&self, percent: f64) -> T; fn to_percent(self, max: T) -> f64; fn prettyprint(self, unit_fmt: &UnitFmt) -> String; fn to_f64(self) -> f64; fn from_f64(&self, x: f64) -> T; fn zero() -> T; }