Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
fn by_ref(&mut self) -> &mut Self
Creates a "by reference" adapter for this instance of Iterator.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn any<F>(&mut self, f: F) -> bool
Tests if any element of the iterator matches a predicate.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn all<F>(&mut self, f: F) -> bool
Tests if every element of the iterator matches a predicate.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
type Item
The type of the elements being iterated over.
associated_type core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait Iterator
A trait for dealing with iterators.
trait core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn len(&self) -> usize
Returns the exact remaining length of the iterator.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait ExactSizeIterator
An iterator that knows its exact length.
trait core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
This is the reverse version of Iterator::try_fold(): it takes elements starting from the back of the iterator.
method core Stable since 1.27.0 Version 1.100.0-nightly
doc.rust-lang.org
fn rfold<B, F>(self, init: B, f: F) -> B
An iterator method that reduces the iterator's elements to a single, final value, starting from the back.
method core Stable since 1.27.0 Version 1.100.0-nightly
doc.rust-lang.org
fn rfind<P>(&mut self, predicate: P) -> Option<<Self as >::Item>
Searches for an element of an iterator from the back that satisfies a predicate.
method core Stable since 1.27.0 Version 1.100.0-nightly
doc.rust-lang.org
fn nth_back(&mut self, n: usize) -> Option<<Self as >::Item>
Returns the nth element from the end of the iterator.
method core Stable since 1.37.0 Version 1.100.0-nightly
doc.rust-lang.org
fn next_back(&mut self) -> Option<<Self as >::Item>
Removes and returns an element from the end of the iterator.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait DoubleEndedIterator
An iterator able to yield elements from both ends.
trait core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn into_iter(self) -> <Self as >::IntoIter
Creates an iterator from a value.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
type Item
The type of the elements being iterated over.
associated_type core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
type IntoIter
Which kind of iterator are we turning this into?
associated_type core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait IntoIterator
Conversion into an Iterator.
trait core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn from_iter<T>(iter: T) -> Self
Creates a value from an iterator.
associated_function core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait FromIterator<A>
Conversion from an Iterator.
trait core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn extend<T>(&mut self, iter: T)
Extends a collection with the contents of an iterator.
method core Stable since 1.0.0 Version 1.100.0-nightly
"Rust's beauty lies in the countless decisions made by the development community that constantly make you feel like you can have ten cakes and eat all ..."

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.