Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub const DLL_EXTENSION: &str
Specifies the file extension, if any, used for shared libraries on this platform that goes after the dot. An example value may be: "so", "elf", or "dll".
constant std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const ARCH: &str
A string describing the architecture of the CPU that is currently in use. An example value may be: "x86", "arm" or "riscv64".
constant std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod consts
Constants associated with the current target
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn args_os() -> ArgsOs
Returns the arguments that this program was started with (normally passed via the command line).
function std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn args() -> Args
Returns the arguments that this program was started with (normally passed via the command line).
function std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct VarsOs
An iterator over a snapshot of the environment variables of this process.
struct std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Vars
An iterator over a snapshot of the environment variables of this process.
struct std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub enum VarError
The error type for operations interacting with environment variables. Possibly returned from env::var().
enum std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct SplitPaths<'a>
An iterator that splits an environment variable into paths according to platform-specific conventions.
struct std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct JoinPathsError
The error type for operations on the PATH variable. Possibly returned from env::join_paths().
struct std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct ArgsOs
An iterator over the arguments of a process, yielding an OsString value for each argument.
struct std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Args
An iterator over the arguments of a process, yielding a String value for each argument.
struct std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod env
Inspection and manipulation of the process's environment.
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub macro dbg!
Prints and returns the value of a given expression for quick and dirty debugging.
macro std Stable since 1.32.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod hash_set
A hash set implemented as a HashMap where the value is ().
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod hash_map
A hash map implemented with quadratic probing and SIMD lookup.
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Union<'a, T, S, A>
A lazy iterator producing elements in the union of HashSets.
struct std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct SymmetricDifference<'a, T, S, A>
A lazy iterator producing elements in the symmetric difference of HashSets.
struct std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Iter<'a, K>
An iterator over the items of a HashSet.
struct std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct IntoIter<K, A>
An owning iterator over the items of a HashSet.
struct std Stable since 1.0.0 Version 1.100.0-nightly
"S-s-s-s-stack alloc Queen, no C++ though Might drop that pointer, no nullable though Tell golang, "Yo, don't you got enough mem to slow?" Tell 'em Kan..."

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.