Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub fn entries<D, I>(&mut self, entries: I) -> &mut Self
Adds the contents of an iterator of entries to the set output.
method core Stable since 1.2.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct DebugSet<'a, 'b>
A struct to help with fmt::Debug implementations.
struct core Stable since 1.2.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn value(&mut self, value: &dyn fmt::Debug) -> &mut Self
Adds the value part of a new entry to the map output.
method core Stable since 1.42.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn key(&mut self, key: &dyn fmt::Debug) -> &mut Self
Adds the key part of a new entry to the map output.
method core Stable since 1.42.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn finish_non_exhaustive(&mut self) -> fmt::Result
Marks the map as non-exhaustive, indicating to the reader that there are some other entries that are not shown in the debug representation.
method core Stable since 1.83.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn finish(&mut self) -> fmt::Result
Finishes output and returns any error encountered.
method core Stable since 1.2.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn entry(&mut self, key: &dyn fmt::Debug, value: &dyn fmt::Debug) -> &mut Self
Adds a new entry to the map output.
method core Stable since 1.2.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn entries<K, V, I>(&mut self, entries: I) -> &mut Self
Adds the contents of an iterator of entries to the map output.
method core Stable since 1.2.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct DebugMap<'a, 'b>
A struct to help with fmt::Debug implementations.
struct core Stable since 1.2.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn finish_non_exhaustive(&mut self) -> fmt::Result
Marks the list as non-exhaustive, indicating to the reader that there are some other elements that are not shown in the debug representation.
method core Stable since 1.83.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn finish(&mut self) -> fmt::Result
Finishes output and returns any error encountered.
method core Stable since 1.2.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn entry(&mut self, entry: &dyn fmt::Debug) -> &mut Self
Adds a new entry to the list output.
method core Stable since 1.2.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn entries<D, I>(&mut self, entries: I) -> &mut Self
Adds the contents of an iterator of entries to the list output.
method core Stable since 1.2.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct DebugList<'a, 'b>
A struct to help with fmt::Debug implementations.
struct core Stable since 1.2.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_str(&mut self, s: &str) -> Result
Writes a string slice into this writer, returning whether the write succeeded.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_fmt(&mut self, args: Arguments<'_>) -> Result
Glue for usage of the write! macro with implementors of this trait.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_char(&mut self, c: char) -> Result
Writes a char into this writer, returning whether the write succeeded.
method core Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait Write
A trait for writing or formatting into Unicode-accepting buffers or streams.
trait core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait UpperHex
X formatting.
trait core Stable since 1.0.0 Version 1.100.0-nightly
"That's one of the great things about Rust: sometimes you can do something really dumb and get away with it."

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.