[][src]Trait glib::translate::FromGlibPtrBorrow

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

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

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

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

Loading content...