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
Required Methods§
Object Safety§
This trait is not object safe.
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