glib::translate

Function from_glib_borrow

Source
pub unsafe fn from_glib_borrow<P: Ptr, T: FromGlibPtrBorrow<P>>(
    ptr: P,
) -> Borrowed<T>
Expand description

Translate from a pointer type, borrowing the pointer.

See FromGlibPtrBorrow.