[go: up one dir, main page]

Module lib

Source
Expand description

Reexports all the types needed from the std, core, and alloc crates. This avoids elaborate import wrangling having to happen in every module. Inspired by the design used in serde.

Modules§

f64
Constants for the f64 double-precision floating point type.
mem
Basic functions for dealing with memory.
ptr
Manually manage memory through raw pointers.
u32Deprecation planned
Redundant constants module for the u32 primitive type.
u64Deprecation planned
Redundant constants module for the u64 primitive type.

Macros§

println
Prints to the standard output, with a newline.

Structs§

BTreeMap
An ordered map based on a B-Tree.
Error
The error type for I/O operations of the Read, Write, Seek, and associated traits.
HashMap
A hash map implemented with quadratic probing and SIMD lookup.
HashSet
A hash set implemented as a HashMap where the value is ().
ManuallyDrop
A wrapper to inhibit the compiler from automatically calling T’s destructor. This wrapper is 0-cost.
String
A UTF-8–encoded, growable string.
Vec
A contiguous growable array type, written as Vec<T>, short for ‘vector’.

Enums§

ErrorKind
A list specifying general categories of I/O error.

Traits§

ToString
A trait for converting a value to a String.
TryInto
An attempted conversion that consumes self, which may or may not be expensive.