Struct alloc::boxed::BoxUnstable
[-]
[+]
[src]
pub struct Box<T>(_);
A type that represents a uniquely-owned value.
Trait Implementations
impl<T: Default> Default for Box<T>
impl<T> Default for Box<[T]>
impl<T: Clone> Clone for Box<T>
fn clone(&self) -> Box<T>
Returns a copy of the owned box.
fn clone_from(&mut self, source: &Box<T>)
Performs copy-assignment from source
by reusing the existing allocation.