Struct std::boxed::BoxUnstable
[-]
[+]
[src]
pub struct Box<T>(_);
A type that represents a uniquely-owned value.
Trait Implementations
impl<T> BoxedSlicePrelude<T> for Box<[T]>
impl<S: Writer, T: Hash<S>> Hash<S> for Box<T>
fn hash(&self, state: &mut S)
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.