Trait glib::translate::FromGlibPtrBorrow
[−]
[src]
pub trait FromGlibPtrBorrow<P: Ptr>: Sized { unsafe fn from_glib_borrow(_ptr: P) -> Self { ... } }
Translate from a pointer type by borrowing. Don't increase the refcount
Provided Methods
unsafe fn from_glib_borrow(_ptr: P) -> Self
Implementors
impl<T: 'static, MM: BoxedMemoryManager<T>> FromGlibPtrBorrow<*mut T> for Boxed<T, MM>
impl<T: 'static, MM: SharedMemoryManager<T>> FromGlibPtrBorrow<*mut T> for Shared<T, MM>