pub trait FromGlibPtrBorrow<P: Ptr>: Sized {
// Provided method
unsafe fn from_glib_borrow(_ptr: P) -> Self { ... }
}
Expand description
Translate from a pointer type by borrowing. Don’t increase the refcount
Provided Methods§
unsafe fn from_glib_borrow(_ptr: P) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.