Struct crossbeam::mem::epoch::Owned [] [src]

pub struct Owned<T> {
    // some fields omitted
}

Like Box<T>: an owned, heap-allocated data value of type T.

Methods

impl<T> Owned<T>

fn new(t: T) -> Owned<T>

Move t to a new heap allocation.

fn into_inner(self) -> T

Move data out of the owned box, deallocating the box.

Trait Implementations

impl<T> Deref for Owned<T>

type Target = T

fn deref(&self) -> &T

impl<T> DerefMut for Owned<T>

fn deref_mut(&mut self) -> &mut T