Trait figures::Unit

source ·
pub trait Unit: FloatConversion<Float = f32> + Add<Output = Self> + Sub<Output = Self> + Div<Output = Self> + Mul<Output = Self> + Rem<Output = Self> + AddAssign + SubAssign + DivAssign + MulAssign + RemAssign + Zero + Ord + Eq + Copy + Default + Debug + IntoSigned + TryInto<i32> + 'static { }
Expand description

A type that can be used as a Unit in figures.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> Unit for Twhere T: FloatConversion<Float = f32> + Add<Output = Self> + Sub<Output = Self> + Div<Output = Self> + Mul<Output = Self> + Rem<Output = Self> + AddAssign + SubAssign + DivAssign + MulAssign + RemAssign + Zero + Ord + Eq + Copy + Default + Debug + IntoSigned + TryInto<i32> + 'static,