Struct pmem::ptr::PmemConstPtr [] [src]

pub struct PmemConstPtr<T: ?Sized> {
    // some fields omitted
}

Direct *const T pointer to a pmem location

Safety

This pointer is not safe to store directly on pmem. You can get a safe virtual pointer using as_virtual().

Methods

impl<T: ?Sized> PmemConstPtr<T>
[src]

impl<T> PmemConstPtr<T>
[src]

Trait Implementations

impl<T: Clone + ?Sized> Clone for PmemConstPtr<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Copy + ?Sized> Copy for PmemConstPtr<T>
[src]

impl<T> Pointer for PmemConstPtr<T>
[src]

Formats the value using the given formatter.

impl<T: ?Sized> Debug for PmemConstPtr<T>
[src]

Formats the value using the given formatter.

impl<T> Default for PmemConstPtr<T>
[src]

Returns the "default value" for a type. Read more