Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub const fn copysign(self, sign: f64) -> f64
Returns a number composed of the magnitude of self and the sign of sign.
method core Stable since 1.35.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const TAU: f64
The full circle constant (τ)
constant core Stable since 1.47.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const SQRT_2: f64
sqrt(2)
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const PI: f64
Archimedes' constant (π)
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const LOG2_E: f64
log2(e)
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const LOG2_10: f64
log2(10)
constant core Stable since 1.43.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const LOG10_E: f64
log10(e)
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const LOG10_2: f64
log10(2)
constant core Stable since 1.43.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const LN_2: f64
ln(2)
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const LN_10: f64
ln(10)
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const GOLDEN_RATIO: f64
The golden ratio (φ)
constant core Stable since 1.94.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const FRAC_PI_8: f64
π/8
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const FRAC_PI_6: f64
π/6
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const FRAC_PI_4: f64
π/4
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const FRAC_PI_3: f64
π/3
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const FRAC_PI_2: f64
π/2
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const FRAC_2_SQRT_PI: f64
2/sqrt(π)
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const FRAC_2_PI: f64
2/π
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const FRAC_1_SQRT_2: f64
1/sqrt(2)
constant core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const FRAC_1_PI: f64
1/π
constant core Stable since 1.0.0 Version 1.100.0-nightly
"This is a wonderful unsoundness and I am incredibly excited about it :3"

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.