Expand description
Development extensions for the Rust Standard Library.
Modules
- Documentation on features.
- All items are reexported here.
- ascii
asciiASCII strings and characters, extendscore::ascii. - char
charUnicode scalars, extendscore::char. - cmp
cmpComparing and ordering, extendscore::cmp. - codegen
codegenCode generation and meta-programming. - convert
convertConversion, extendscore::convert. - fmt
fmtFormatting, extendsalloc::fmt. - mem
memMemory, extendscore::mem. - num
numNumeric types, extendscore::num. - ops
opsOperators, extendscore::ops. - option
optionOption, extendscore::option. - os
osOS-specific, extendsstd::os. - path
pathPaths, extendsstd::path. - The common prelude.
- result
resultResult, extendscore::result. - slice
sliceSlice, extendsalloc::slice. - str
strString slices, extendscore::str. - string
stringOwned strings, extendsalloc::string. - sync
syncSynchronization, extendscore::sync. - thread
threadNative threads, extendsstd::thread.
Macros
- ansi
osConcatenatesAnsiescape codes, and returns a&str. - ansib
osConcatenatesAnsiescape codes, and returns a&[u8]. - ansip
osand (stdorlinux_unsafe)Prints concatenatedAnsiescape codes using the Ansiprintmethod. - cdbg
fmt - const_for
codegenA for loop that is usable in const expressions. - deprecate_feature
codegenSet a deprecated feature in order to display a warning if it’s enabled. - format_buf
fmtReturns a formattedstrslice backed by a buffer,no_stdcompatible. - iif
codegeninlineif. - manifest_dir
pathAlias ofPath::new(concat![env!("CARGO_MANIFEST_DIR"), $path]). - os_eprint
osand (stdorlinux_unsafe)Prints to the standard error. - os_eprintln
osand (stdorlinux_unsafe)Prints to the standard error, with a newline. - os_print
osand (stdorlinux_unsafe)Prints to the standard output. - os_println
osand (stdorlinux_unsafe)Prints to the standard output, with a newline. - paste
codegenAllows to paste identifiers together. - sf
codegenskipformatting macro. - sfb
codegenskipformattingblock macro. - sleep4
threadandstdBrieferstd::thread::sleep.