[−][src]Crate alloc
👎 Deprecated since 0.3.4:
this crate is deprecated without replacement
This crate is deprecated. You can now write:
#[cfg(all(feature = "alloc", not(feature = "std")))] extern crate alloc; #[cfg(feature = "std")] extern crate std as alloc;
Modules
alloc | Memory allocation APIs |
borrow | A module for working with borrowed data. |
boxed | A pointer type for heap allocation. |
collections | Collection types. |
fmt | Utilities for formatting and printing |
rc | Single-threaded reference-counting pointers. 'Rc' stands for 'Reference Counted'. |
slice | A dynamically-sized view into a contiguous sequence, |
str | Unicode string slices. |
string | A UTF-8 encoded, growable string. |
sync | Thread-safe reference-counting pointers. |
vec | A contiguous growable array type with heap-allocated contents, written
|
prelude | Experimental The alloc Prelude |
task | Experimental Types and Traits for working with asynchronous tasks. |
Macros
format | Creates a |
vec | Creates a |