Skip to main content

to_usize

Function to_usize 

Source
fn to_usize(x: u64) -> usize
Expand description

Convert a u64 to usize. Panics if the value exceeds usize::MAX.