Function cast::usize

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

Checked cast function