Module scrypto_test::prelude::rust
source · Expand description
A facade of Rust types.
Modules§
- Memory allocation APIs.
- The
Box<T>type for heap allocation. - Shareable mutable containers.
- The
Clonetrait for types that cannot be ‘implicitly copied’. - Utilities for comparing and ordering values.
- Collection types.
- Traits for conversions between types.
- The
Defaulttrait for types with a default value. - Generic hashing support.
- Composable external iteration.
- Primitive traits and types representing basic properties of types.
- Additional functionality for numerics.
- Overloadable operators.
- Optional values.
- Manually manage memory through raw pointers.
- Single-threaded reference-counting pointers. ‘Rc’ stands for ‘Reference Counted’.
- Error handling with the
Resulttype. - Utilities for the slice primitive type.
- Utilities for the
strprimitive type. - A UTF-8–encoded, growable string.
- Useful synchronization primitives.
Macros§
- Creates a
Stringusing interpolation of runtime expressions. - Creates a
Veccontaining the arguments.