Struct crossbeam::mem::epoch::Owned
[−]
[src]
pub struct Owned<T> { /* fields omitted */ }
Like Box<T>
: an owned, heap-allocated data value of type T
.
Methods
impl<T> Owned<T>
[src]
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: Debug> Debug for Owned<T>
[src]
impl<T> Deref for Owned<T>
[src]
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &T
The method called to dereference a value
impl<T> DerefMut for Owned<T>
[src]
fn deref_mut(&mut self) -> &mut T
The method called to mutably dereference a value