Struct pmem::ptr::PmemConstVirtualPtr
[−]
[src]
pub struct PmemConstVirtualPtr<T: ?Sized> { // some fields omitted }
Persistent memory virtual pointer
This pointer is safe to store.
Methods
impl<T: ?Sized> PmemConstVirtualPtr<T>
[src]
unsafe fn new(poolid: usize, offset: usize) -> Self
fn is_null(&self) -> bool
unsafe fn as_type<U>(&self) -> PmemConstVirtualPtr<U>
unsafe fn as_mut(&self) -> PmemMutVirtualPtr<T>
impl<T> PmemConstVirtualPtr<T>
[src]
fn null() -> Self
unsafe fn offset(&self, count: isize) -> Self
unsafe fn link(&self, pool: &PersistentMap) -> PmemConstPtr<T>
Trait Implementations
impl<T: Clone + ?Sized> Clone for PmemConstVirtualPtr<T>
[src]
fn clone(&self) -> PmemConstVirtualPtr<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more