Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub const fn iter_mut(&mut self) -> IterMut<'_, T>
Returns an iterator that allows modifying each value.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Windows<'a, T>
An iterator over overlapping subslices of length size.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitNMut<'a, T, P>
An iterator over subslices separated by elements that match a predicate function, limited to a given number of splits.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitN<'a, T, P>
An iterator over subslices separated by elements that match a predicate function, limited to a given number of splits.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitMut<'a, T, P>
An iterator over the mutable subslices of the vector which are separated by elements that match pred.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitInclusiveMut<'a, T, P>
An iterator over the mutable subslices of the vector which are separated by elements that match pred. Unlike SplitMut, it contains the matched parts in the ends of the subslices.
struct core Stable since 1.51.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitInclusive<'a, T, P>
An iterator over subslices separated by elements that match a predicate function. Unlike Split, it contains the matched part as a terminator of the subslice.
struct core Stable since 1.51.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Split<'a, T, P>
An iterator over subslices separated by elements that match a predicate function.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RSplitNMut<'a, T, P>
An iterator over subslices separated by elements that match a predicate function, limited to a given number of splits, starting from the end of the slice.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RSplitN<'a, T, P>
An iterator over subslices separated by elements that match a predicate function, limited to a given number of splits, starting from the end of the slice.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RSplitMut<'a, T, P>
An iterator over the subslices of the vector which are separated by elements that match pred, starting from the end of the slice.
struct core Stable since 1.27.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RSplit<'a, T, P>
An iterator over subslices separated by elements that match a predicate function, starting from the end of the slice.
struct core Stable since 1.27.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RChunksMut<'a, T>
An iterator over a slice in (non-overlapping) mutable chunks (chunk_size elements at a time), starting at the end of the slice.
struct core Stable since 1.31.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn into_remainder(self) -> &'a mut [T]
Returns the remainder of the original slice that is not going to be returned by the iterator. The returned slice has at most chunk_size-1 elements.
method core Stable since 1.31.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RChunksExactMut<'a, T>
An iterator over a slice in (non-overlapping) mutable chunks (chunk_size elements at a time), starting at the end of the slice.
struct core Stable since 1.31.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn remainder(&self) -> &'a [T]
Returns the remainder of the original slice that is not going to be returned by the iterator. The returned slice has at most chunk_size-1 elements.
method core Stable since 1.31.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RChunksExact<'a, T>
An iterator over a slice in (non-overlapping) chunks (chunk_size elements at a time), starting at the end of the slice.
struct core Stable since 1.31.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RChunks<'a, T>
An iterator over a slice in (non-overlapping) chunks (chunk_size elements at a time), starting at the end of the slice.
struct core Stable since 1.31.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn into_slice(self) -> &'a mut [T]
Views the underlying data as a subslice of the original data.
method core Stable since 1.4.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn as_slice(&self) -> &[T]
Views the underlying data as a subslice of the original data.
method core Stable since 1.53.0 Version 1.100.0-nightly
"I love Rust, so I was already biased to be positive about the Rust for Linux project, even before dabbling with it myself. I'm genuinely surprised to ..."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.