Trait crossbeam_epoch::Pointer
[−]
[src]
pub trait Pointer<T> { fn into_usize(self) -> usize; unsafe fn from_usize(data: usize) -> Self; }
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
.