Function from_glib_borrow

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

Translate from a pointer type, borrowing the pointer.

See FromGlibPtrBorrow.