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