Struct collections::boxed::BoxStable
[-]
[+]
[src]
pub struct Box<T>(_);
A type that represents a uniquely-owned value.
Methods
impl<T> Box<T>
Trait Implementations
impl<T> Default for Box<T> where T: Default
impl<T> Default for Box<[T]>
impl<T> Clone for Box<T> where T: Clone
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.