Trait glib::translate::FromGlibPtrNone[][src]

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

Translate from a pointer type without taking ownership, transfer: none.

Required Methods

Implementations on Foreign Types

impl<P: Ptr, T: FromGlibPtrNone<P>> FromGlibPtrNone<P> for Option<T>
[src]

impl FromGlibPtrNone<*const c_char> for String
[src]

impl FromGlibPtrNone<*mut c_char> for String
[src]

impl FromGlibPtrNone<*const c_char> for PathBuf
[src]

impl FromGlibPtrNone<*mut c_char> for PathBuf
[src]

impl FromGlibPtrNone<*const c_char> for OsString
[src]

impl FromGlibPtrNone<*mut c_char> for OsString
[src]

Implementors