pub trait PointerType {
    type Data;
    fn into_raw(self) -> *mut Self::Data;
unsafe fn from_raw(_: *mut Self::Data) -> Self; }
Expand description

Wrapper for a pinter type

Associated Types

underlying type

Required methods

convert Self to the underlying type raw pointer

convert Self from the underlying type raw pointer

Safety

You must make sure the raw pointer comes from call of into_raw

Implementations on Foreign Types

Implementors