Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub const fn make_ascii_lowercase(&mut self)
Converts this string to its ASCII lower case equivalent in-place.
method core Stable since 1.23.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Utf8Chunks<'a>
An iterator used to decode a slice of mostly UTF-8 bytes to string slices (&str) and byte slices (&[u8]).
struct core Stable since 1.79.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn valid(&self) -> &'a str
Returns the next validated UTF-8 substring.
method core Stable since 1.79.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn invalid(&self) -> &'a [u8]
Returns the invalid sequence that caused a failure.
method core Stable since 1.79.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Utf8Chunk<'a>
An item returned by the Utf8Chunks iterator.
struct core Stable since 1.79.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn lines_any(&self) -> LinesAny<'_>
Returns an iterator over the lines of a string.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn lines(&self) -> Lines<'_>
Returns an iterator over the lines of a string, as string slices.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn len(&self) -> usize
Returns the length of self.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitWhitespace<'a>
An iterator over the non-whitespace substrings of a string, separated by any amount of whitespace.
struct core Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitTerminator<'a, P>
Created with the method split_terminator.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitN<'a, P>
Created with the method splitn.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitInclusive<'a, P>
An iterator over the substrings of a string, terminated by a substring matching to 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 SplitAsciiWhitespace<'a>
An iterator over the non-ASCII-whitespace substrings of a string, separated by any amount of ASCII whitespace.
struct core Stable since 1.34.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Split<'a, P>
Created with the method split.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RSplitTerminator<'a, P>
Created with the method rsplit_terminator.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RSplitN<'a, P>
Created with the method rsplitn.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RSplit<'a, P>
Created with the method rsplit.
struct core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RMatches<'a, P>
Created with the method rmatches.
struct core Stable since 1.2.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RMatchIndices<'a, P>
Created with the method rmatch_indices.
struct core Stable since 1.5.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Matches<'a, P>
Created with the method matches.
struct core Stable since 1.2.0 Version 1.100.0-nightly
"As the tradeoffs in software engineering change over time, so does the ideal solution. Some 40 years ago when the first C standards were written down,..."

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.