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]

[src]

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

[src]

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

[src]

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

[src]

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

[src]

Implementors