Module index

Source
Expand description

Indexing implementations for [T].

Modulesยง

private_slice_index ๐Ÿ”’

Traitsยง

SliceIndex
A helper trait used for indexing operations.

Functionsยง

get_mut_noubcheck ๐Ÿ”’ โš 
get_noubcheck ๐Ÿ”’ โš 
get_offset_len_mut_noubcheck ๐Ÿ”’ โš 
get_offset_len_noubcheck ๐Ÿ”’ โš 
into_range ๐Ÿ”’
Converts pair of ops::Bounds into ops::Range. Returns None on overflowing indices.
into_range_unchecked ๐Ÿ”’
Converts a pair of ops::Bounds into ops::Range without performing any bounds checking or (in debug) overflow checking.
into_slice_range ๐Ÿ”’
Converts pair of ops::Bounds into ops::Range. Panics on overflowing indices.
slice_end_index_len_fail ๐Ÿ”’
slice_end_index_overflow_fail ๐Ÿ”’
slice_index_order_fail ๐Ÿ”’
slice_start_index_len_fail ๐Ÿ”’
slice_start_index_overflow_fail ๐Ÿ”’
rangeExperimental
Performs bounds checking of a range.
try_rangeExperimental
Performs bounds checking of a range without panicking.