Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub fn values_mut(&mut self) -> ValuesMut<'_, K, V>
Gets a mutable iterator over the values of the map, in order by key.
method alloc Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct ExtractIf<'a, K, V, R, F, A>
This struct is created by the extract_if method on BTreeMap.
struct alloc Stable since 1.91.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct IntoIter<K, V, A>
An owning iterator over the entries of a BTreeMap, sorted by key.
struct alloc Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct IntoKeys<K, V, A>
An owning iterator over the keys of a BTreeMap.
struct alloc Stable since 1.54.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct IntoValues<K, V, A>
An owning iterator over the values of a BTreeMap.
struct alloc Stable since 1.54.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Iter<'a, K, V>
An iterator over the entries of a BTreeMap.
struct alloc Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct IterMut<'a, K, V>
A mutable iterator over the entries of a BTreeMap.
struct alloc Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Keys<'a, K, V>
An iterator over the keys of a BTreeMap.
struct alloc Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Range<'a, K, V>
An iterator over a sub-range of entries in a BTreeMap.
struct alloc Stable since 1.17.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct RangeMut<'a, K, V>
A mutable iterator over a sub-range of entries in a BTreeMap.
struct alloc Stable since 1.17.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Values<'a, K, V>
An iterator over the values of a BTreeMap.
struct alloc Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct ValuesMut<'a, K, V>
A mutable iterator over the values of a BTreeMap.
struct alloc Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub enum Entry<'a, K, V, A>
A view into a single entry in a map, which may either be vacant or occupied.
enum alloc Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn and_modify<F>(self, f: F) -> Self
Provides in-place mutable access to an occupied entry before any potential inserts into the map.
method alloc Stable since 1.26.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn insert_entry(self, value: V) -> OccupiedEntry<'a, K, V, A>
Sets the value of the entry, and returns an OccupiedEntry.
method alloc Stable since 1.92.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn key(&self) -> &K
Returns a reference to this entry's key.
method alloc Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn or_default(self) -> &'a mut V
Ensures a value is in the entry by inserting the default value if empty, and returns a mutable reference to the value in the entry.
method alloc Stable since 1.28.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn or_insert(self, default: V) -> &'a mut V
Ensures a value is in the entry by inserting the default if empty, and returns a mutable reference to the value in the entry.
method alloc Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn or_insert_with<F>(self, default: F) -> &'a mut V
Ensures a value is in the entry by inserting the result of the default function if empty, and returns a mutable reference to the value in the entry.
method alloc Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn or_insert_with_key<F>(self, default: F) -> &'a mut V
Ensures a value is in the entry by inserting, if empty, the result of the default function.
method alloc Stable since 1.50.0 Version 1.100.0-nightly
"The main theme of Rust *is not* systems programming, speed, or memory safety - it's moving runtime problems to compile time. Everything else is incide..."

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.