[−][src]Trait crossbeam::epoch::Pointer
A trait for either Owned
or Shared
pointers.
Required methods
fn into_usize(self) -> usize
Returns the machine representation of the pointer.
unsafe fn from_usize(data: usize) -> Self
Returns a new pointer pointing to the tagged pointer data
.
Implementors
impl<'g, T> Pointer<T> for Shared<'g, T>
[src]
fn into_usize(self) -> usize
[src]
unsafe fn from_usize(data: usize) -> Shared<'g, T>
[src]
impl<T> Pointer<T> for Owned<T>
[src]
fn into_usize(self) -> usize
[src]
unsafe fn from_usize(data: usize) -> Owned<T>
[src]
Returns a new pointer pointing to the tagged pointer data
.
Panics
Panics if the data is zero in debug mode.