Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub struct IntoIter<A>
An iterator over the value in Some variant of an Option.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod option
Optional values.
module core Stable since 1.0.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.35.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RangeToInclusive<Idx>
A range only bounded inclusively above (..=end).
struct core Stable since 1.26.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.35.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RangeTo<Idx>
A range only bounded exclusively above (..end).
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn start(&self) -> &Idx
Returns the lower bound of the range (inclusive).
method core Stable since 1.27.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn new(start: Idx, end: Idx) -> Self
Creates a new inclusive range. Equivalent to writing start..=end.
associated_function core Stable since 1.27.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.47.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn into_inner(self) -> (Idx, Idx)
Destructures the RangeInclusive into (lower bound, upper (inclusive) bound).
method core Stable since 1.27.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn end(&self) -> &Idx
Returns the upper bound of the range (inclusive).
method core Stable since 1.27.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.35.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RangeInclusive<Idx>
A range bounded inclusively below and above (start..=end).
struct core Stable since 1.26.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RangeFull
An unbounded range (..).
struct core Stable since 1.0.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.35.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RangeFrom<Idx>
A range only bounded inclusively below (start..).
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn start_bound(&self) -> Bound<&T>
Start index bound.
method core Stable since 1.28.0 Version 1.100.0-nightly
doc.rust-lang.org
fn end_bound(&self) -> Bound<&T>
End index bound.
method core Stable since 1.28.0 Version 1.100.0-nightly
doc.rust-lang.org
fn contains<U>(&self, item: &U) -> bool
Returns true if item is contained in the range.
method core Stable since 1.35.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait RangeBounds<T>
RangeBounds is implemented by Rust's built-in range types, produced by range syntax like .., a.., ..b, ..=c, d..e, or f..=g.
trait core Stable since 1.28.0 Version 1.100.0-nightly
"We're here to learn. We will do so relentlessly."

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.