Trait may::sync::PointerType
source · [−]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
pub trait PointerType {
type Data;
fn into_raw(self) -> *mut Self::Data;
unsafe fn from_raw(_: *mut Self::Data) -> Self;
}
Wrapper for a pinter type