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

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

Loading content...

Implementations on Foreign Types

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

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

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

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

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

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

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

Loading content...

Implementors

impl FromGlibPtrNone<*const GValue> for SendValue[src]

impl FromGlibPtrNone<*const GValue> for Value[src]

impl FromGlibPtrNone<*mut GValue> for SendValue[src]

impl FromGlibPtrNone<*mut GValue> for Value[src]

impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrNone<*const T> for Boxed<T, MM>[src]

impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrNone<*mut T> for Boxed<T, MM>[src]

impl<T: 'static, MM: SharedMemoryManager<T>> FromGlibPtrNone<*const T> for Shared<T, MM>[src]

impl<T: 'static, MM: SharedMemoryManager<T>> FromGlibPtrNone<*mut T> for Shared<T, MM>[src]

Loading content...