Module swiss_army_knife::get_unchecked [−][src]
Expand description
Allows the use of slice methods get_unchecked()
and get_unchecked_mut()
such that when compiling with debug assertions access is checked.
Traits
Trivially casts to usize
without panic.
Used for bounded range slices.
Like get_unchecked()
, but, if debug assertions are configured, checks and panics.