[][src]Module alloc::prelude

🔬 This is a nightly-only experimental API. (alloc #27783)

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:

extern crate alloc;
use alloc::prelude::*;

Re-exports

pub use crate::borrow::ToOwned;
pub use crate::boxed::Box;
pub use crate::slice::SliceConcatExt;
pub use crate::string::String;
pub use crate::string::ToString;
pub use crate::vec::Vec;