1use num::NumCast; 2 3pub struct Size<Dimension> 4where 5 Dimension: NumCast + Ord, 6{ 7 pub width: Dimension, 8 pub height: Dimension, 9}