Skip to main content
Module index
core
1.102.0-nightly
(6c709eb42 2026-11-25)
Module index
Module Items
Structs
In crate core
core
Module
index
Copy item path
Source
🔬
This is a nightly-only experimental API. (
sliceindex_wrappers
#146179
)
Expand description
Helper types for indexing slices.
Structs
§
Clamp
Experimental
Clamps an index, guaranteeing that it will only access valid elements of the slice.
Last
Experimental
Always accesses the last element of the slice.