Expand description
Development extensions for the Rust Standard Library.
Modules
- General documentation.
- All items are reexported here.
- ASCII strings and characters, extends
core::ascii
. - Unicode scalars, extends
core::char
. - Comparing and ordering, extends
core::cmp
. - Code generation and meta-programming.
- Conversion, extends
core::convert
. - Formatting, extends
alloc::fmt
. - Memory, extends
core::mem
. - Numeric types, extends
core::num
. - Operators, extends
core::ops
. - Option, extends
core::option
. - OS-specific, extends
std::os
. - Paths, extends
std::path
. - The common prelude.
- Result, extends
core::result
. - Slice, extends
alloc::slice
. - String slices, extends
core::str
. - Owned strings, extends
alloc::string
. - Synchronization, extends
core::sync
. - thread
std
Native threads, extendsstd::thread
.
Macros
- ansi
or
unsafe_str
ConcatenatesAnsi
escape codes, and returns a&str
. - Concatenates
Ansi
escape codes, and returns a&[u8]
. - ansip
linux
andunsafe_os
, orstd
Prints concatenatedAnsi
escape codes using the Ansiprint
method. - A for loop that is usable in const expressions.
- Set a deprecated feature in order to display a warning if it’s enabled.
- Returns a formatted
str
slice backed by a buffer,no_std
compatible. i
nlineif
.- Alias of
Path::new(concat![env!("CARGO_MANIFEST_DIR"), $path])
. - os_eprint
std
, orlinux
andunsafe_os
Prints to the standard error. - os_eprintln
std
, orlinux
andunsafe_os
Prints to the standard error, with a newline. - os_print
std
, orlinux
andunsafe_os
Prints to the standard output. - os_println
std
, orlinux
andunsafe_os
Prints to the standard output, with a newline. - Allows to paste identifiers together.
s
kipf
ormatting macro.s
kipf
ormattingb
lock macro.- sleep4
std
Brieferstd::thread::
sleep
.