Expand description
Indexing implementations for [T]
.
Modulesยง
- private_
slice_ ๐index
Traitsยง
- Slice
Index - 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::Bound
s intoops::Range
. ReturnsNone
on overflowing indices. - into_
range_ ๐unchecked - Converts a pair of
ops::Bound
s intoops::Range
without performing any bounds checking or (in debug) overflow checking. - into_
slice_ ๐range - Converts pair of
ops::Bound
s intoops::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 - range
Experimental - Performs bounds checking of a range.
- try_
range Experimental - Performs bounds checking of a range without panicking.