Module std::boxedExperimental
[-]
[+]
[src]
A unique pointer type.
Structs
| Box | A type that represents a uniquely-owned value. |
Statics
pub static HEAP: () = [definition] |
A value that represents the global exchange heap. This is the default
place that the The following two examples are equivalent: fn main() { use std::boxed::HEAP; struct Bar; impl Bar { fn new(_a: int) { } } let foo = box(HEAP) Bar::new(2); let foo = box Bar::new(2); }use std::boxed::HEAP; let foo = box(HEAP) Bar::new(2); let foo = box Bar::new(2); |
Traits
| BoxAny | Extension methods for an owning |