Expand description
A facade around all the types we need from the std, core, and alloc
crates. This avoids elaborate import wrangling having to happen in every
module.
Modules§
- clone
 - The 
Clonetrait for types that cannot be ‘implicitly copied’. - convert
 - Traits for conversions between types.
 - core 🔒
 - default
 - The 
Defaulttrait for types with a default value. - f32
 - Constants for the 
f32single-precision floating point type. - f64
 - Constants for the 
f64double-precision floating point type. - fmt
 - Utilities for formatting and printing 
Strings. - marker
 - Primitive traits and types representing basic properties of types.
 - option
 - Optional values.
 - ptr
 - Manually manage memory through raw pointers.
 - result
 - Error handling with the 
Resulttype. - slice
 - Utilities for the slice primitive type.
 - str
 - Utilities for the 
strprimitive type. 
Structs§
- Box
 - A pointer type that uniquely owns a heap allocation of type 
T. - Phantom
Data  - Zero-sized type used to mark things that “act like” they own a 
T. - String
 - A UTF-8–encoded, growable string.
 - Vec
 - A contiguous growable array type, written as 
Vec<T>, short for ‘vector’. 
Enums§
- Cow
 - A clone-on-write smart pointer.
 
Traits§
- Debug
 ?formatting.- Display
 - Format trait for an empty format, 
{}. - FmtWrite
 - A trait for writing or formatting into Unicode-accepting buffers or streams.
 - ToOwned
 - A generalization of 
Cloneto borrowed data. - ToString
 - A trait for converting a value to a 
String. 
Derive Macros§
- Debug
 - Derive macro generating an impl of the trait 
Debug.