Trait glib::translate::Ptr[][src]

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

Required Methods

Implementations on Foreign Types

impl<T: 'static> Ptr for *const T
[src]

impl<T: 'static> Ptr for *mut T
[src]

Implementors