Trait supercow::ext::PtrRead [] [src]

pub unsafe trait PtrRead<T: ?Sized>: PtrWrite<T> {
    fn get_ptr(&self) -> *const T;
}

Read trait corresponding to PtrWrite.

Required Methods

Returns the pointer most recently stored via store_ptr().

Unsafety

Behaviour is undefined if the returned value is not exactly equal to the value passed in to the last call to store_ptr(). This call must not panic.

Implementors