cast

Function usize

Source
pub fn usize<T>(x: T) -> <usize as From<T>>::Output
where usize: From<T>,
Expand description

Checked cast function