Docs.rs
  • rustc-std-workspace-std-1.0.1
    • rustc-std-workspace-std 1.0.1
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • crates.io
    • Source
    • Owners
    • github:rust-lang:libs
    • rust-lang-owner
    • Dependencies
    • Versions
    • 0% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate std

std1.0.1

  • All Items

Crate Items

  • Modules
  • Macros

Crates

  • std

Crate std

Source

Modules§

alloc
Memory allocation APIs.
any
Utilities for dynamic typing or type reflection.
arch
SIMD and vendor intrinsics module.
array
Utilities for the array primitive type.
ascii
Operations on ASCII strings and characters.
backtrace
Support for capturing a stack backtrace of an OS thread
borrow
A module for working with borrowed data.
boxed
The Box<T> type for heap allocation.
cell
Shareable mutable containers.
char
Utilities for the char primitive type.
clone
The Clone trait for types that cannot be ‘implicitly copied’.
cmp
Utilities for comparing and ordering values.
collections
Collection types.
convert
Traits for conversions between types.
default
The Default trait for types with a default value.
env
Inspection and manipulation of the process’s environment.
error
Interfaces for working with Errors.
f32
Constants for the f32 single-precision floating point type.
f64
Constants for the f64 double-precision floating point type.
ffi
Utilities related to FFI bindings.
fmt
Utilities for formatting and printing Strings.
fs
Filesystem manipulation operations.
future
Asynchronous basic functionality.
hash
Generic hashing support.
hint
Hints to compiler that affects how code should be emitted or optimized.
i8Deprecation planned
Redundant constants module for the i8 primitive type.
i16Deprecation planned
Redundant constants module for the i16 primitive type.
i32Deprecation planned
Redundant constants module for the i32 primitive type.
i64Deprecation planned
Redundant constants module for the i64 primitive type.
i128Deprecation planned
Redundant constants module for the i128 primitive type.
io
Traits, helpers, and type definitions for core I/O functionality.
isizeDeprecation planned
Redundant constants module for the isize primitive type.
iter
Composable external iteration.
marker
Primitive traits and types representing basic properties of types.
mem
Basic functions for dealing with memory.
net
Networking primitives for TCP/UDP communication.
num
Additional functionality for numerics.
ops
Overloadable operators.
option
Optional values.
os
OS-specific functionality.
panic
Panic support in the standard library.
path
Cross-platform path manipulation.
pin
Types that pin data to a location in memory.
prelude
The Rust Prelude
primitive
This module reexports the primitive types to allow usage that is not possibly shadowed by other declared types.
process
A module for working with processes.
ptr
Manually manage memory through raw pointers.
rc
Single-threaded reference-counting pointers. ‘Rc’ stands for ‘Reference Counted’.
result
Error handling with the Result type.
slice
Utilities for the slice primitive type.
str
Utilities for the str primitive type.
string
A UTF-8–encoded, growable string.
sync
Useful synchronization primitives.
task
Types and Traits for working with asynchronous tasks.
thread
Native threads.
time
Temporal quantification.
u8Deprecation planned
Redundant constants module for the u8 primitive type.
u16Deprecation planned
Redundant constants module for the u16 primitive type.
u32Deprecation planned
Redundant constants module for the u32 primitive type.
u64Deprecation planned
Redundant constants module for the u64 primitive type.
u128Deprecation planned
Redundant constants module for the u128 primitive type.
usizeDeprecation planned
Redundant constants module for the usize primitive type.
vec
A contiguous growable array type with heap-allocated contents, written Vec<T>.
assert_matchesExperimental
Unstable module containing the unstable assert_matches macro.
async_iterExperimental
Composable asynchronous iteration.
autodiffExperimental
This module provides support for automatic differentiation.
bstrExperimental
The ByteStr and ByteString types and trait implementations.
f16Experimental
Constants for the f16 half-precision floating point type.
f128Experimental
Constants for the f128 quadruple-precision floating point type.
intrinsicsExperimental
Compiler intrinsics.
patExperimental
Helper module for exporting the pattern_type macro
randomExperimental
Random value generation.
rangeExperimental
Experimental replacement range types
simdExperimental
Portable SIMD module.
unsafe_binderExperimental
Operators used to turn types into unsafe binders and back.

Macros§

assert
Asserts that a boolean expression is true at runtime.
assert_eq
Asserts that two expressions are equal to each other (using PartialEq).
assert_ne
Asserts that two expressions are not equal to each other (using PartialEq).
cfg
Evaluates boolean combinations of configuration flags at compile-time.
column
Expands to the column number at which it was invoked.
compile_error
Causes compilation to fail with the given error message when encountered.
concat
Concatenates literals into a static string slice.
dbg
Prints and returns the value of a given expression for quick and dirty debugging.
debug_assert
Asserts that a boolean expression is true at runtime.
debug_assert_eq
Asserts that two expressions are equal to each other.
debug_assert_ne
Asserts that two expressions are not equal to each other.
env
Inspects an environment variable at compile time.
eprint
Prints to the standard error.
eprintln
Prints to the standard error, with a newline.
file
Expands to the file name in which it was invoked.
format
Creates a String using interpolation of runtime expressions.
format_args
Constructs parameters for the other string-formatting macros.
include
Parses a file as an expression or an item according to the context.
include_bytes
Includes a file as a reference to a byte array.
include_str
Includes a UTF-8 encoded file as a string.
is_x86_feature_detected
A macro to test at runtime whether a CPU feature is available on x86/x86-64 platforms.
line
Expands to the line number on which it was invoked.
matches
Returns whether the given expression matches the provided pattern.
module_path
Expands to a string that represents the current module path.
option_env
Optionally inspects an environment variable at compile time.
panic
Panics the current thread.
print
Prints to the standard output.
println
Prints to the standard output, with a newline.
stringify
Stringifies its arguments.
thread_local
Declare a new thread local storage key of type std::thread::LocalKey.
todo
Indicates unfinished code.
tryDeprecated
Unwraps a result or propagates its error.
unimplemented
Indicates unimplemented code by panicking with a message of “not implemented”.
unreachable
Indicates unreachable code.
vec
Creates a Vec containing the arguments.
write
Writes formatted data into a buffer.
writeln
Writes formatted data into a buffer, with a newline appended.
cfg_selectExperimental
A macro for defining #[cfg] match-like statements.
concat_bytesExperimental
Concatenates literals into a byte slice.
concat_identsDeprecatedExperimental
Concatenates identifiers into one identifier.
const_format_argsExperimental
Same as format_args, but can be used in some const contexts.
format_args_nlExperimental
Same as format_args, but adds a newline in the end.
log_syntaxExperimental
Prints passed tokens into the standard output.
trace_macrosExperimental
Enables or disables tracing functionality used for debugging other macros.

Results

Settings
Help
    re-export
    std::primitive::bool
    struct
    std::str::ParseBoolError
    An error returned when parsing a bool using from_str fails
    struct
    std::sync::atomic::AtomicBool
    A boolean type which can be safely shared between threads.
    constant
    std::sync::atomic::ATOMIC_BOOL_INIT
    An AtomicBool initialized to false.
    method
    std::sync::atomic::AtomicBool::new
    bool -> AtomicBool
    Creates a new AtomicBool.
    method
    std::sync::atomic::AtomicBool::from
    bool -> AtomicBool
    Converts a bool into an AtomicBool.
    function
    std::intrinsics::assume
    bool -> ()
    Informs the optimizer that a condition is always true. If …
    function
    std::intrinsics::mir::Assume
    bool -> ()
    function
    std::hint::likely
    bool -> bool
    Hints to the compiler that a branch condition is likely to …
    function
    std::intrinsics::likely
    bool -> bool
    Hints to the compiler that branch condition is likely to …
    function
    std::hint::unlikely
    bool -> bool
    Hints to the compiler that a branch condition is unlikely …
    function
    std::intrinsics::unlikely
    bool -> bool
    Hints to the compiler that branch condition is likely to …
    function
    std::hint::assert_unchecked
    bool -> ()
    Makes a soundness promise to the compiler that cond holds.
    method
    std::sync::atomic::AtomicBool::from_ptr
    bool -> &AtomicBool
    Creates a new AtomicBool from a pointer.
    method
    std::simd::Mask::splat
    bool -> Mask<T>
    Constructs a mask by setting all elements to the given …
    method
    std::simd::Mask::bitxor
    Mask<T>, bool ->
    function
    std::hint::select_unpredictable
    bool, T, T -> T
    Returns either true_val or false_val depending on the …
    function
    std::intrinsics::select_unpredictable
    bool, T, T -> T
    Returns either true_val or false_val depending on …
    method
    std::sync::atomic::AtomicBool::swap
    &AtomicBool, bool, Ordering -> bool
    Stores a value into the bool, returning the previous value.
    method
    std::sync::atomic::AtomicBool::store
    &AtomicBool, bool, Ordering -> ()
    Stores a value into the bool.
    method
    std::error::Report::pretty
    Report<E>, bool -> Report<E>
    Enable pretty-printing the report across multiple lines.
    method
    std::sync::atomic::AtomicBool::fetch_or
    &AtomicBool, bool, Ordering -> bool
    Logical “or” with a boolean value.
    method
    std::sync::atomic::AtomicBool::fetch_and
    &AtomicBool, bool, Ordering -> bool
    Logical “and” with a boolean value.
    method
    std::sync::atomic::AtomicBool::fetch_xor
    &AtomicBool, bool, Ordering -> bool
    Logical “xor” with a boolean value.
    method
    std::sync::atomic::AtomicBool::fetch_nand
    &AtomicBool, bool, Ordering -> bool
    Logical “nand” with a boolean value.
    method
    std::fs::Permissions::set_readonly
    &mut Permissions, bool -> ()
    Modifies the readonly flag for this set of permissions. If …
    method
    std::error::Report::show_backtrace
    Report<E>, bool -> Report<E>
    Display backtrace if available when using pretty output …
    method
    std::simd::Mask::bitor
    Mask<T>, bool -> Mask<T>
    method
    std::simd::Mask::bitand
    Mask<T>, bool -> Mask<T>
    method
    std::simd::Mask::resize
    Mask<T>, bool -> Mask<T>
    Resize a mask.
    method
    std::sync::atomic::AtomicBool::from_mut
    &mut bool -> &mut AtomicBool
    Gets atomic access to a &mut bool.
    method
    std::net::TcpStream::set_nodelay
    &TcpStream, bool -> Result<(), Error>
    Sets the value of the TCP_NODELAY option on this socket.
    trait method
    std::os::linux::net::UnixSocketExt::set_passcred
    &UnixSocketExt, bool -> Result<(), Error>
    Enable or disable socket option SO_PASSCRED.
    method
    std::os::unix::net::UnixDatagram::set_passcred
    &UnixDatagram, bool -> Result<(), Error>
    method
    std::os::unix::net::UnixStream::set_passcred
    &UnixStream, bool -> Result<(), Error>
    trait method
    std::os::linux::net::TcpStreamExt::set_quickack
    &TcpStreamExt, bool -> Result<(), Error>
    Enable or disable TCP_QUICKACK.
    method
    std::net::TcpStream::set_quickack
    &TcpStream, bool -> Result<(), Error>
    method
    std::net::UdpSocket::set_broadcast
    &UdpSocket, bool -> Result<(), Error>
    Sets the value of the SO_BROADCAST option for this socket.
    method
    std::net::TcpStream::set_nonblocking
    &TcpStream, bool -> Result<(), Error>
    Moves this TCP stream into or out of nonblocking mode.
    method
    std::net::TcpListener::set_nonblocking
    &TcpListener, bool -> Result<(), Error>
    Moves this TCP stream into or out of nonblocking mode.
    method
    std::net::UdpSocket::set_nonblocking
    &UdpSocket, bool -> Result<(), Error>
    Moves this UDP socket into or out of nonblocking mode.
    method
    std::os::unix::net::UnixDatagram::set_nonblocking
    &UnixDatagram, bool -> Result<(), Error>
    Moves the socket into or out of nonblocking mode.
    method
    std::os::unix::net::UnixListener::set_nonblocking
    &UnixListener, bool -> Result<(), Error>
    Moves the socket into or out of nonblocking mode.
    method
    std::os::unix::net::UnixStream::set_nonblocking
    &UnixStream, bool -> Result<(), Error>
    Moves the socket into or out of nonblocking mode.
    method
    std::simd::Mask::shift_elements_left
    Mask<T>, bool -> Mask<T>
    Shifts the mask elements to the left by OFFSET, filling in …
    method
    std::simd::Mask::shift_elements_right
    Mask<T>, bool -> Mask<T>
    Shifts the mask elements to the right by OFFSET, filling …
    method
    std::net::UdpSocket::set_multicast_loop_v4
    &UdpSocket, bool -> Result<(), Error>
    Sets the value of the IP_MULTICAST_LOOP option for this …
    method
    std::net::UdpSocket::set_multicast_loop_v6
    &UdpSocket, bool -> Result<(), Error>
    Sets the value of the IPV6_MULTICAST_LOOP option for this …
    method
    std::net::TcpListener::set_only_v6
    &TcpListener, bool -> Result<(), Error>
    method
    std::sync::atomic::AtomicBool::compare_and_swap
    &AtomicBool, bool, bool, Ordering -> bool
    Stores a value into the bool if the current value is the …
    method
    std::fs::OpenOptions::read
    &mut OpenOptions, bool -> &mut OpenOptions
    Sets the option for read access.
    method
    std::fs::OpenOptions::write
    &mut OpenOptions, bool -> &mut OpenOptions
    Sets the option for write access.
    method
    std::fs::OpenOptions::append
    &mut OpenOptions, bool -> &mut OpenOptions
    Sets the option for the append mode.
    method
    std::fs::OpenOptions::create
    &mut OpenOptions, bool -> &mut OpenOptions
    Sets the option to create a new file, or open it if it …
    method
    std::fs::OpenOptions::truncate
    &mut OpenOptions, bool -> &mut OpenOptions
    Sets the option for truncating a previous file.
    method
    std::fmt::FormattingOptions::alternate
    &mut FormattingOptions, bool -> &mut FormattingOptions
    Sets or unsets the # flag.
    method
    std::fs::DirBuilder::recursive
    &mut DirBuilder, bool -> &mut DirBuilder
    Indicates that directories should be created recursively, …
    method
    std::fs::OpenOptions::create_new
    &mut OpenOptions, bool -> &mut OpenOptions
    Sets the option to create a new file, failing if it …
    method
    std::simd::Mask::bitor_assign
    &mut Mask<T>, bool -> ()
    trait method
    std::os::linux::process::CommandExt::create_pidfd
    &mut CommandExt, bool -> &mut Command
    Sets whether a PidFd should be created for the Child …
    method
    std::process::Command::create_pidfd
    &mut Command, bool -> &mut Command
    method
    std::simd::Mask::bitand_assign
    &mut Mask<T>, bool -> ()
    method
    std::simd::Mask::bitxor_assign
    &mut Mask<T>, bool -> ()
    method
    std::fmt::FormattingOptions::sign_aware_zero_pad
    &mut FormattingOptions, bool -> &mut FormattingOptions
    Sets or unsets the 0 flag.
    method
    std::simd::Mask::set
    &mut Mask<T>, usize, bool -> ()
    Sets the value of the specified element.
    method
    std::simd::Mask::set_unchecked
    &mut Mask<T>, usize, bool -> ()
    Sets the value of the specified element.
    method
    std::sync::atomic::AtomicBool::compare_exchange
    &AtomicBool, bool, bool, Ordering, Ordering -> Result<bool, bool>
    Stores a value into the bool if the current value is the …
    method
    std::sync::atomic::AtomicBool::compare_exchange_weak
    &AtomicBool, bool, bool, Ordering, Ordering -> Result<bool, bool>
    Stores a value into the bool if the current value is the …
    method
    std::fmt::Formatter::pad_integral
    &mut Formatter, bool, &str, &str -> Result<(), Error>
    Performs the correct padding for an integer which has …
    function
    std::ptr::eq
    -> bool
    Compares raw pointers for equality.
    function
    std::ptr::addr_eq
    -> bool
    Compares the addresses of the two pointers for equality, …
    function
    std::thread::panicking
    -> bool
    Determines whether the current thread is unwinding because …
    function
    std::intrinsics::ub_checks
    -> bool
    Returns whether we should perform some UB-checking at …
    function
    std::intrinsics::needs_drop
    -> bool
    Returns true if the actual type given as T requires drop …
    function
    std::mem::needs_drop
    -> bool
    Returns true if dropping values of type T matters.
    function
    std::intrinsics::contract_checks
    -> bool
    Returns whether we should perform contract-checking at …
    method
    std::cmp::Ordering::is_eq
    Ordering -> bool
    Returns true if the ordering is the Equal variant.
    method
    std::cmp::Ordering::is_ge
    Ordering -> bool
    Returns true if the ordering is either the Greater or Equal…
    method
    std::cmp::Ordering::is_gt
    Ordering -> bool
    Returns true if the ordering is the Greater variant.
    method
    std::cmp::Ordering::is_le
    Ordering -> bool
    Returns true if the ordering is either the Less or Equal …
    method
    std::cmp::Ordering::is_lt
    Ordering -> bool
    Returns true if the ordering is the Less variant.
    method
    std::cmp::Ordering::is_ne
    Ordering -> bool
    Returns true if the ordering is not the Equal variant.
    struct field
    std::mem::Assume::safety
    Assume -> bool
    When false, TransmuteFrom is not implemented for …
    struct field
    std::mem::Assume::validity
    Assume -> bool
    When false, TransmuteFrom is not implemented for …
    struct field
    std::mem::Assume::alignment
    Assume -> bool
    When false, TransmuteFrom is not implemented for …
    struct field
    std::mem::Assume::lifetimes
    Assume -> bool
    When false, TransmuteFrom is not implemented for …
    method
    std::sync::atomic::AtomicBool::into_inner
    AtomicBool -> bool
    Consumes the atomic and returns the contained value.
    function
    std::path::is_separator
    char -> bool
    Determines whether the character is one of the permitted …
    function
    std::intrinsics::simd::simd_reduce_all
    T -> bool
    Checks if all mask values are true.
    function
    std::intrinsics::simd::simd_reduce_any
    T -> bool
    Checks if any mask value is true.
    method
    std::any::Any::is
    &Any -> bool
    Forwards to the method defined on the type Any.
    method
    std::error::Error::is
    &Error -> bool
    Returns true if the inner type is the same as T.
    method
    std::sync::atomic::AtomicBool::as_ptr
    &AtomicBool -> bool
    Returns a mutable pointer to the underlying bool.
    method
    std::path::Path::exists
    &Path -> bool
    Returns true if the path points at an existing entity.
    method
    std::fs::Metadata::is_dir
    &Metadata -> bool
    Returns true if this metadata is for a directory. The …
    method
    std::fs::FileType::is_dir
    &FileType -> bool
    Tests whether this file type represents a directory. The …
    method
    std::path::Path::is_dir
    &Path -> bool
    Returns true if the path exists on disk and is pointing at …
    trait method
    std::os::unix::fs::FileTypeExt::is_fifo
    &FileTypeExt -> bool
    Returns true if this file type is a fifo.
    method
    std::fs::FileType::is_fifo
    &FileType -> bool
    method
    std::fs::Metadata::is_file
    &Metadata -> bool
    Returns true if this metadata is for a regular file. The …
    method
    std::fs::FileType::is_file
    &FileType -> bool
    Tests whether this file type represents a regular file. …
    method
    std::path::Path::is_file
    &Path -> bool
    Returns true if the path exists on disk and is pointing at …
    method
    std::net::IpAddr::is_ipv4
    &IpAddr -> bool
    Returns true if this address is an IPv4 address, and false …
    method
    std::net::SocketAddr::is_ipv4
    &SocketAddr -> bool
    Returns true if the IP address in this SocketAddr is an …
    method
    std::net::IpAddr::is_ipv6
    &IpAddr -> bool
    Returns true if this address is an IPv6 address, and false …
    method
    std::net::SocketAddr::is_ipv6
    &SocketAddr -> bool
    Returns true if the IP address in this SocketAddr is an …
    method
    std::time::Duration::is_zero
    &Duration -> bool
    Returns true if this Duration spans no time.
    method
    std::process::ExitStatus::success
    &ExitStatus -> bool
    Was termination successful? Signal termination is not …
    method
    std::path::Path::has_root
    &Path -> bool
    Returns true if the Path has a root.
    method
    std::ffi::OsStr::is_ascii
    &OsStr -> bool
    Checks if all characters in this string are within the …
    method
    std::ffi::OsStr::is_empty
    &OsStr -> bool
    Checks whether the OsStr is empty.
    method
    std::ffi::CStr::is_empty
    &CStr -> bool
    Returns true if self.to_bytes() has a length of 0.
    method
    std::iter::ExactSizeIterator::is_empty
    &ExactSizeIterator -> bool
    Returns true if the iterator is empty.
    method
    std::ops::RangeBounds::is_empty
    &RangeBounds -> bool
    Returns true if the range contains no items. One-sided …
    method
    std::os::unix::net::SocketAncillary::is_empty
    &SocketAncillary -> bool
    Returns true if the ancillary data is empty.
    method
    std::string::String::is_empty
    &String -> bool
    Returns true if this String has a length of zero, and false…
    method
    std::char::ToLowercase::is_empty
    &ToLowercase -> bool
    method
    std::char::ToUppercase::is_empty
    &ToUppercase -> bool
    method
    std::env::Args::is_empty
    &Args -> bool
    method
    std::env::ArgsOs::is_empty
    &ArgsOs -> bool
    method
    std::process::CommandEnvs::is_empty
    &CommandEnvs -> bool
    method
    std::process::CommandArgs::is_empty
    &CommandArgs -> bool
    method
    std::str::Bytes::is_empty
    &Bytes -> bool
    method
    std::fs::Permissions::readonly
    &Permissions -> bool
    Returns true if these permissions describe a readonly …
    method
    std::fmt::Formatter::alternate
    &Formatter -> bool
    Determines if the # flag was specified.
    trait method
    std::os::unix::process::ExitStatusExt::continued
    &ExitStatusExt -> bool
    Whether the process was continued from a stopped status.
    method
    std::process::ExitStatus::continued
    &ExitStatus -> bool
    method
    std::process::ExitStatusError::continued
    &ExitStatusError -> bool
    method
    std::net::IpAddr::is_global
    &IpAddr -> bool
    Returns true if the address appears to be globally …
    method
    std::net::Ipv4Addr::is_global
    &Ipv4Addr -> bool
    Returns true if the address appears to be globally …
    method
    std::net::Ipv6Addr::is_global
    &Ipv6Addr -> bool
    Returns true if the address appears to be globally …
    method
    std::sync::BarrierWaitResult::is_leader
    &BarrierWaitResult -> bool
    Returns true if this thread is the “leader thread” for …
    method
    std::net::Ipv4Addr::is_shared
    &Ipv4Addr -> bool
    Returns true if this address is part of the Shared Address …
    trait method
    std::os::unix::fs::FileTypeExt::is_socket
    &FileTypeExt -> bool
    Returns true if this file type is a socket.
    method
    std::fs::FileType::is_socket
    &FileType -> bool
    method
    std::fmt::Formatter::sign_plus
    &Formatter -> bool
    Determines if the + flag was specified.
    method
    std::sync::WaitTimeoutResult::timed_out
    &WaitTimeoutResult -> bool
    Returns true if the wait was known to have timed out.
    method
    std::os::unix::net::SocketAncillary::truncated
    &SocketAncillary -> bool
    Is true if during a recv operation the ancillary was …
    method
    std::panic::PanicHookInfo::can_unwind
    &PanicHookInfo -> bool
    Returns whether the panic handler is allowed to unwind the …
    method
    std::net::Ipv4Addr::is_private
    &Ipv4Addr -> bool
    Returns true if this is a private address.
    method
    std::fs::Metadata::is_symlink
    &Metadata -> bool
    Returns true if this metadata is for a symbolic link.
    method
    std::fs::FileType::is_symlink
    &FileType -> bool
    Tests whether this file type represents a symbolic link. …
    method
    std::path::Path::is_symlink
    &Path -> bool
    Returns true if the path exists on disk and is pointing at …
    method
    std::net::Ipv6Addr::is_unicast
    &Ipv6Addr -> bool
    Returns true if this is a unicast address, as defined by …
    method
    std::os::unix::net::SocketAddr::is_unnamed
    &SocketAddr -> bool
    Returns true if the address is unnamed.
    method
    std::process::Stdio::makes_pipe
    &Stdio -> bool
    Returns true if this requires Command to create a new pipe.
    method
    std::fmt::Formatter::sign_minus
    &Formatter -> bool
    Determines if the - flag was specified.
    trait method
    std::os::unix::process::ExitStatusExt::core_dumped
    &ExitStatusExt -> bool
    If the process was terminated by a signal, says whether it …
    method
    std::process::ExitStatus::core_dumped
    &ExitStatus -> bool
    method
    std::process::ExitStatusError::core_dumped
    &ExitStatusError -> bool
    method
    std::path::Path::is_absolute
    &Path -> bool
    Returns true if the Path is absolute, i.e., if it is …
    method
    std::net::IpAddr::is_loopback
    &IpAddr -> bool
    Returns true if this is a loopback address.
    method
    std::net::Ipv4Addr::is_loopback
    &Ipv4Addr -> bool
    Returns true if this is a loopback address (127.0.0.0/8).
    method
    std::net::Ipv6Addr::is_loopback
    &Ipv6Addr -> bool
    Returns true if this is the loopback address (::1), as …
    method
    std::num::NonZero::is_negative
    NonZero<i32> -> bool
    Returns true if self is negative and false if the number …
    method
    std::num::Saturating::is_negative
    Saturating<i128> -> bool
    Returns true if self is negative and false if the number …
    method
    std::num::Wrapping::is_negative
    Wrapping<i8> -> bool
    Returns true if self is negative and false if the number …
    method
    std::sync::OnceState::is_poisoned
    &OnceState -> bool
    Returns true if the associated Once was poisoned prior to …
    method
    std::num::NonZero::is_positive
    NonZero<i32> -> bool
    Returns true if self is positive and false if the number …
    method
    std::num::Saturating::is_positive
    Saturating<i32> -> bool
    Returns true if self is positive and false if the number …
    method
    std::num::Wrapping::is_positive
    Wrapping<i8> -> bool
    Returns true if self is positive and false if the number …
    method
    std::path::Path::is_relative
    &Path -> bool
    Returns true if the Path is relative, i.e., not absolute.
    method
    std::net::Ipv4Addr::is_reserved
    &Ipv4Addr -> bool
    Returns true if this address is reserved by IANA for …
    trait method
    std::io::IsTerminal::is_terminal
    &IsTerminal -> bool
    Returns true if the descriptor/handle refers to a …
    method
    std::fs::File::is_terminal
    &File -> bool
    method
    std::io::Stdin::is_terminal
    &Stdin -> bool
    method
    std::io::StdinLock::is_terminal
    &StdinLock -> bool
    method
    std::io::Stdout::is_terminal
    &Stdout -> bool
    method
    std::io::StdoutLock::is_terminal
    &StdoutLock -> bool
    method
    std::io::Stderr::is_terminal
    &Stderr -> bool
    method
    std::io::StderrLock::is_terminal
    &StderrLock -> bool
    method
    std::os::fd::OwnedFd::is_terminal
    &OwnedFd -> bool
    method
    std::os::fd::BorrowedFd::is_terminal
    &BorrowedFd -> bool
    method
    std::path::Prefix::is_verbatim
    &Prefix -> bool
    Determines if the prefix is verbatim, i.e., begins with …
    method
    std::net::Ipv4Addr::is_broadcast
    &Ipv4Addr -> bool
    Returns true if this is a broadcast address (…
    method
    std::sync::Once::is_completed
    &Once -> bool
    Returns true if some call_once() call has completed …
    method
    std::net::IpAddr::is_multicast
    &IpAddr -> bool
    Returns true if this is a multicast address.
    method
    std::net::Ipv4Addr::is_multicast
    &Ipv4Addr -> bool
    Returns true if this is a multicast address (224.0.0.0/4).
    method
    std::net::Ipv6Addr::is_multicast
    &Ipv6Addr -> bool
    Returns true if this is a multicast address (ff00::/8).
    method
    std::boxed::Box::is_prefix_of
    &str -> bool
    method
    std::sync::Exclusive::is_prefix_of
    &str -> bool
    method
    std::boxed::Box::is_suffix_of
    &str -> bool
    method
    std::sync::Exclusive::is_suffix_of
    &str -> bool
    method
    std::fmt::FormattingOptions::get_alternate
    &FormattingOptions -> bool
    Returns the current # flag.
    method
    std::net::Ipv4Addr::is_link_local
    &Ipv4Addr -> bool
    Returns true if the address is link-local (169.254.0.0/16).
    trait method
    std::os::unix::fs::FileTypeExt::is_char_device
    &FileTypeExt -> bool
    Returns true if this file type is a char device.
    method
    std::fs::FileType::is_char_device
    &FileType -> bool
    method
    std::net::Ipv6Addr::is_ipv4_mapped
    &Ipv6Addr -> bool
    Returns true if the address is an IPv4-mapped address (…
    method
    std::net::IpAddr::is_unspecified
    &IpAddr -> bool
    Returns true for the special ‘unspecified’ address.
    method
    std::net::Ipv4Addr::is_unspecified
    &Ipv4Addr -> bool
    Returns true for the special ‘unspecified’ address (…
    method
    std::net::Ipv6Addr::is_unspecified
    &Ipv6Addr -> bool
    Returns true for the special ‘unspecified’ address (::…
    method
    std::net::IpAddr::is_benchmarking
    &IpAddr -> bool
    Returns true if this address is in a range designated for …
    method
    std::net::Ipv4Addr::is_benchmarking
    &Ipv4Addr -> bool
    Returns true if this address part of the 198.18.0.0/15 …
    method
    std::net::Ipv6Addr::is_benchmarking
    &Ipv6Addr -> bool
    Returns true if this is an address reserved for …
    trait method
    std::os::unix::fs::FileTypeExt::is_block_device
    &FileTypeExt -> bool
    Returns true if this file type is a block device.
    method
    std::fs::FileType::is_block_device
    &FileType -> bool
    method
    std::boxed::Box::is_contained_in
    &str -> bool
    method
    std::sync::Exclusive::is_contained_in
    &str -> bool
    method
    std::num::NonZero::is_power_of_two
    NonZero<u16> -> bool
    Returns true if and only if self == (1 << k) for some k.
    method
    std::num::Saturating::is_power_of_two
    Saturating<u128> -> bool
    Returns true if and only if self == 2^k for some k.
    method
    std::num::Wrapping::is_power_of_two
    Wrapping<u128> -> bool
    Returns true if and only if self == 2^k for some k.
    method
    std::net::Ipv6Addr::is_unique_local
    &Ipv6Addr -> bool
    Returns true if this is a unique local address (fc00::/7).
    method
    std::net::IpAddr::is_documentation
    &IpAddr -> bool
    Returns true if this address is in a range designated for …
    method
    std::net::Ipv4Addr::is_documentation
    &Ipv4Addr -> bool
    Returns true if this address is in a range designated for …
    method
    std::net::Ipv6Addr::is_documentation
    &Ipv6Addr -> bool
    Returns true if this is an address reserved for …
    method
    std::io::Read::is_read_vectored
    &Read -> bool
    Determines if this Reader has an efficient read_vectored …
    method
    std::fs::File::is_read_vectored
    &File -> bool
    method
    std::io::Stdin::is_read_vectored
    &Stdin -> bool
    method
    std::io::StdinLock::is_read_vectored
    &StdinLock -> bool
    method
    std::io::Repeat::is_read_vectored
    &Repeat -> bool
    method
    std::io::PipeReader::is_read_vectored
    &PipeReader -> bool
    method
    std::io::Empty::is_read_vectored
    &Empty -> bool
    method
    std::net::TcpStream::is_read_vectored
    &TcpStream -> bool
    method
    std::os::unix::net::UnixStream::is_read_vectored
    &UnixStream -> bool
    method
    std::process::ChildStdout::is_read_vectored
    &ChildStdout -> bool
    method
    std::process::ChildStderr::is_read_vectored
    &ChildStderr -> bool
    method
    std::net::Ipv6Addr::is_unicast_global
    &Ipv6Addr -> bool
    Returns true if the address is a globally routable unicast …
    method
    std::io::Write::is_write_vectored
    &Write -> bool
    Determines if this Writer has an efficient write_vectored …
    method
    std::fs::File::is_write_vectored
    &File -> bool
    method
    std::io::Stdout::is_write_vectored
    &Stdout -> bool
    method
    std::io::StdoutLock::is_write_vectored
    &StdoutLock -> bool
    method
    std::io::Stderr::is_write_vectored
    &Stderr -> bool
    method
    std::io::StderrLock::is_write_vectored
    &StderrLock -> bool
    method
    std::io::PipeWriter::is_write_vectored
    &PipeWriter -> bool
    method
    std::io::Empty::is_write_vectored
    &Empty -> bool
    method
    std::io::Sink::is_write_vectored
    &Sink -> bool
    method
    std::io::BorrowedCursor::is_write_vectored
    &BorrowedCursor -> bool
    method
    std::net::TcpStream::is_write_vectored
    &TcpStream -> bool
    method
    std::os::unix::net::UnixStream::is_write_vectored
    &UnixStream -> bool
    method
    std::process::ChildStdin::is_write_vectored
    &ChildStdin -> bool
    method
    std::fmt::Formatter::sign_aware_zero_pad
    &Formatter -> bool
    Determines if the 0 flag was specified.
    method
    std::net::Ipv6Addr::is_unicast_link_local
    &Ipv6Addr -> bool
    Returns true if the address is a unicast address with …
    method
    std::fmt::FormattingOptions::get_sign_aware_zero_pad
    &FormattingOptions -> bool
    Returns the current 0 flag.
    function
    std::intrinsics::is_val_statically_known
    T -> bool
    Returns whether the argument’s value is statically known …
    method
    std::error::Request::would_be_satisfied_by_ref_of
    &Request -> bool
    Checks if the Request would be satisfied if provided with a
    method
    std::error::Request::would_be_satisfied_by_value_of
    &Request -> bool
    Checks if the Request would be satisfied if provided with a
    method
    std::simd::Mask::all
    Mask<T> -> bool
    Returns true if all elements are set, or false otherwise.
    method
    std::simd::Mask::any
    Mask<T> -> bool
    Returns true if any element is set, or false otherwise.
    method
    std::path::PathBuf::pop
    &mut PathBuf -> bool
    Truncates self to self.parent.
    method
    std::sync::atomic::AtomicBool::load
    &AtomicBool, Ordering -> bool
    Loads a value from the bool.
    function
    std::intrinsics::mir::Checked
    T -> (T, bool)
    method
    std::sync::mpmc::Sender::is_full
    &Sender<T> -> bool
    Returns true if the channel is full.
    method
    std::sync::mpmc::Receiver::is_full
    &Receiver<T> -> bool
    Returns true if the channel is full.
    method
    std::option::Option::is_none
    &Option<T> -> bool
    Returns true if the option is a None value.
    method
    std::option::Option::is_some
    &Option<T> -> bool
    Returns true if the option is a Some value.
    method
    std::ptr::NonNull::is_empty
    NonNull<[T]> -> bool
    Returns true if the non-null raw slice has a length of 0.
    method
    std::sync::mpmc::Sender::is_empty
    &Sender<T> -> bool
    Returns true if the channel is empty.
    method
    std::sync::mpmc::Receiver::is_empty
    &Receiver<T> -> bool
    Returns true if the channel is empty.
    method
    std::array::IntoIter::is_empty
    &IntoIter<T> -> bool
    method
    std::collections::binary_heap::Iter::is_empty
    &Iter<T> -> bool
    method
    std::collections::vec_deque::IterMut::is_empty
    &IterMut<T> -> bool
    method
    std::collections::vec_deque::Iter::is_empty
    &Iter<T> -> bool
    method
    std::slice::Iter::is_empty
    &Iter<T> -> bool
    method
    std::slice::IterMut::is_empty
    &IterMut<T> -> bool
    method
    std::slice::ChunksExact::is_empty
    &ChunksExact<T> -> bool
    method
    std::slice::ChunksExactMut::is_empty
    &ChunksExactMut<T> -> bool
    method
    std::slice::ArrayWindows::is_empty
    &ArrayWindows<T> -> bool
    method
    std::slice::ArrayChunks::is_empty
    &ArrayChunks<T> -> bool
    method
    std::slice::ArrayChunksMut::is_empty
    &ArrayChunksMut<T> -> bool
    method
    std::slice::RChunksExact::is_empty
    &RChunksExact<T> -> bool
    method
    std::slice::RChunksExactMut::is_empty
    &RChunksExactMut<T> -> bool
    method
    std::task::Poll::is_ready
    &Poll<T> -> bool
    Returns true if the poll is a Poll::Ready value.
    method
    std::sync::atomic::AtomicBool::fetch_not
    &AtomicBool, Ordering -> bool
    Logical “not” with a boolean value.
    method
    std::iter::Iterator::is_sorted
    Iterator -> bool
    Checks if the elements of this iterator are sorted.
    method
    std::ops::Range::is_sorted
    Range<A> -> bool
    method
    std::ops::RangeInclusive::is_sorted
    RangeInclusive<A> -> bool
    method
    std::range::IterRange::is_sorted
    IterRange<A> -> bool
    method
    std::range::IterRangeInclusive::is_sorted
    IterRangeInclusive<A> -> bool
    method
    std::ptr::NonNull::is_aligned
    NonNull<T> -> bool
    Returns whether the pointer is properly aligned for T.