Module swiss_army_knife::get_unchecked[][src]

Allows the use of slice methods get_unchecked() and get_unchecked_mut() such that when compiling with debug assertions access is checked.

Traits

AsUsizeIndex

Trivially casts to usize without panic.

GetUnchecked

Like get_unchecked(), but, if debug assertions are configured, checks and panics.