Trait iron_shapes::AreaType

source ·
pub trait AreaType: Num + Copy + PartialOrd + Sized { }
Expand description

Trait for types that can be used as areas. In practice this are integers, floats and possible rational numbers.

Implementors§

source§

impl<T: Num + Copy + PartialOrd> AreaType for T