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

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

fn is_null(&self) -> bool

fn from<X>(ptr: *mut X) -> Self

fn to<X>(self) -> *mut X

Implementations on Foreign Types

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

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

Implementors