Struct crossbeam::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]
pub fn new(t: T) -> Owned<T>
[src]
Move t
to a new heap allocation.
pub fn into_inner(self) -> T
[src]
Move data out of the owned box, deallocating the box.
Trait Implementations
impl<T: Debug> Debug for Owned<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T> Deref for Owned<T>
[src]
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T
[src]
Dereferences the value.