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