Trait glib::translate::FromGlibPtr [] [src]

pub trait FromGlibPtr<P: Ptr>: Sized {
    unsafe fn from_glib_none(ptr: P) -> Self;
    unsafe fn from_glib_full(ptr: P) -> Self;
}

Translate from a pointer type.

Required Methods

unsafe fn from_glib_none(ptr: P) -> Self

Transfer: none.

unsafe fn from_glib_full(ptr: P) -> Self

Transfer: full.

Implementors