pub type BorrowFn = for<'ptr> unsafe fn(opaque: OpaqueConst<'ptr>) -> OpaqueConst<'ptr>;Expand description
Tries to obtain a reference to the inner value of the smart pointer.
Weak pointers don’t even have that function in their vtable.
pub type BorrowFn = for<'ptr> unsafe fn(opaque: OpaqueConst<'ptr>) -> OpaqueConst<'ptr>;Tries to obtain a reference to the inner value of the smart pointer.
Weak pointers don’t even have that function in their vtable.