pub trait AsUSize { // Required method fn as_usize(self) -> usize; }
Trait which allows to convert Self to usize, since To is not implemented by f32 and f64.
Convert Self to usize.