Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
derive #[derive(Hash)]
Derive macro generating an impl of the trait Hash.
derive_macro core Stable since 1.38.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_usize(&mut self, i: usize)
Writes a single usize into this hasher.
method core Stable since 1.3.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_u8(&mut self, i: u8)
Writes a single u8 into this hasher.
method core Stable since 1.3.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_u64(&mut self, i: u64)
Writes a single u64 into this hasher.
method core Stable since 1.3.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_u32(&mut self, i: u32)
Writes a single u32 into this hasher.
method core Stable since 1.3.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_u16(&mut self, i: u16)
Writes a single u16 into this hasher.
method core Stable since 1.3.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_u128(&mut self, i: u128)
Writes a single u128 into this hasher.
method core Stable since 1.26.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_isize(&mut self, i: isize)
Writes a single isize into this hasher.
method core Stable since 1.3.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_i8(&mut self, i: i8)
Writes a single i8 into this hasher.
method core Stable since 1.3.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_i64(&mut self, i: i64)
Writes a single i64 into this hasher.
method core Stable since 1.3.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_i32(&mut self, i: i32)
Writes a single i32 into this hasher.
method core Stable since 1.3.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_i16(&mut self, i: i16)
Writes a single i16 into this hasher.
method core Stable since 1.3.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write_i128(&mut self, i: i128)
Writes a single i128 into this hasher.
method core Stable since 1.26.0 Version 1.100.0-nightly
doc.rust-lang.org
fn write(&mut self, bytes: &[u8])
Writes some data into this Hasher.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn finish(&self) -> u64
Returns the hash value for the values written so far.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait Hasher
A trait for hashing an arbitrary stream of bytes.
trait core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn hash_slice<H>(data: &[Self], state: &mut H)
Feeds a slice of this type into the given Hasher.
associated_function core Stable since 1.3.0 Version 1.100.0-nightly
doc.rust-lang.org
fn hash<H>(&self, state: &mut H)
Feeds this value into the given Hasher.
method core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait Hash
A hashable type.
trait core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn new() -> Self
Creates a new BuildHasherDefault for Hasher H.
associated_function core Stable since 1.85.0 Version 1.100.0-nightly
"…man, starting to dig through the source code of a really large open source program is so weird. It’s like wandering around a giant cathedral that..."

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.