alloc::prelude - Rust
Description: API documentation for the Rust `prelude` mod in crate `alloc`.
Keywords: rust, rustlang, rust-lang, prelude

# [−][src]Module alloc::prelude

🔬 This is a nightly-only experimental API. (`alloc_prelude` #58935)

The alloc Prelude

The purpose of this module is to alleviate imports of commonly-used items of the `alloc` crate by adding a glob import to the top of modules:

    #![feature(alloc_prelude)]
    extern crate alloc;
    use alloc::prelude::v1::*;

## Modules

v1 | Experimental The first version of the prelude of `alloc` crate.