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
unsafe fn from_glib_none(ptr: P) -> Self
Implementors
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrNone<*mut T> for Boxed<T, MM>
impl<T: 'static, MM: SharedMemoryManager<T>> FromGlibPtrNone<*mut T> for Shared<T, MM>
impl<P: Ptr, T: FromGlibPtrNone<P>> FromGlibPtrNone<P> for Option<T>
impl FromGlibPtrNone<*const c_char> for String
impl FromGlibPtrNone<*mut c_char> for String
impl FromGlibPtrNone<*const c_char> for PathBuf
impl FromGlibPtrNone<*mut c_char> for PathBuf
impl FromGlibPtrNone<*const GValue> for Value
impl FromGlibPtrNone<*mut GValue> for Value