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