Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub const fn get_ref(self) -> &'a T
Gets a shared reference out of a pin.
method core Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn get_mut(self) -> &'a mut T
Gets a mutable reference to the data inside of this Pin.
method core Stable since 1.33.0 Version 1.100.0-nightly
doc.rust-lang.org
primitive reference
References, &T and &mut T.
primitive core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod legacy
Legacy range types
module core Stable since 1.98.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RangeIter<A>
By-value Range iterator.
struct core Stable since 1.96.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RangeInclusiveIter<A>
By-value RangeInclusive iterator.
struct core Stable since 1.95.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RangeFromIter<A>
By-value RangeFrom iterator.
struct core Stable since 1.96.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn contains<U>(&self, item: &U) -> bool
Returns true if item is contained in the range.
method core Stable since 1.96.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RangeToInclusive<Idx>
A range only bounded inclusively above.
struct core Stable since 1.96.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn iter(&self) -> RangeInclusiveIter<Idx>
Creates an iterator over the elements within this range.
method core Stable since 1.95.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn is_empty(&self) -> bool
Returns true if the range contains no items.
method core Stable since 1.95.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn contains<U>(&self, item: &U) -> bool
Returns true if item is contained in the range.
method core Stable since 1.95.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RangeInclusive<Idx>
A range bounded inclusively below and above.
struct core Stable since 1.95.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn iter(&self) -> RangeFromIter<Idx>
Creates an iterator over the elements within this range.
method core Stable since 1.96.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn contains<U>(&self, item: &U) -> bool
Returns true if item is contained in the range.
method core Stable since 1.96.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RangeFrom<Idx>
A range only bounded inclusively below.
struct core Stable since 1.96.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn iter(&self) -> RangeIter<Idx>
Creates an iterator over the elements within this range.
method core Stable since 1.96.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn is_empty(&self) -> bool
Returns true if the range contains no items.
method core Stable since 1.96.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn contains<U>(&self, item: &U) -> bool
Returns true if item is contained in the range.
method core Stable since 1.96.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Range<Idx>
A (half-open) range bounded inclusively below and exclusively above.
struct core Stable since 1.96.0 Version 1.100.0-nightly
"I've seen similar sentiments echoed before, elsewhere. The point it's making is the same one that's argued whenever people say you should learn LISP b..."

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.