Docs.rs
rustc-std-workspace-core-1.0.1
rustc-std-workspace-core 1.0.1
Permalink
Docs.rs crate page
MIT
/
Apache-2.0
Links
Repository
crates.io
Source
Owners
github:rust-lang:libs
rust-lang-owner
Dependencies
Versions
0%
of the crate is documented
Platform
aarch64-apple-darwin
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module index
rustc_
std_
workspace_
core
1.0.1
Module index
Module Items
Structs
In crate rustc_
std_
workspace_
core
rustc_std_workspace_core
Module
index
Copy item path
Source
🔬
This is a nightly-only experimental API. (
sliceindex_wrappers
)
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.