Trait Ptr
glib::translate
pub trait Ptr: Copy + 'static { fn is_null(&self) -> bool; fn from<X>(ptr: *mut X) -> Self; fn to<X>(self) -> *mut X; }
A pointer
fn is_null(&self) -> bool
fn from<X>(ptr: *mut X) -> Self
fn to<X>(self) -> *mut X
impl<T: 'static> Ptr for *const T
fn from<X>(ptr: *mut X) -> *const T
impl<T: 'static> Ptr for *mut T
fn from<X>(ptr: *mut X) -> *mut T