pub trait Ptr: Copy + 'static {
    // Required methods
    fn is_null(&self) -> bool;
    fn from<X>(ptr: *mut X) -> Self;
    fn to<X>(self) -> *mut X;
}Expand description
A pointer
pub trait Ptr: Copy + 'static {
    // Required methods
    fn is_null(&self) -> bool;
    fn from<X>(ptr: *mut X) -> Self;
    fn to<X>(self) -> *mut X;
}A pointer