pub trait HasIndirectionPtr {
    unsafe fn deref<T: Sized>(&self) -> *const T;

    unsafe fn deref_mut<T: Sized>(&mut self) -> *mut T { ... }
}

Required Methods§

Returns a pointer to the referenced memory.

Safety

This is an unsafe method because derefencing could result in an access violation.

Provided Methods§

Returns a mutable pointer to the referenced memory.

Safety

This is an unsafe method because derefencing could result in an access violation.

Implementors§