pub type BorrowFn = for<'ptr> unsafe fn(this: PtrConst<'ptr>) -> PtrConst<'ptr>;Expand description
Tries to obtain a reference to the inner value of the smart pointer.
This can only be used with strong pointers (like std::sync::Arc or std::rc::Rc).
ยงSafety
this must be a valid strong smart pointer (like std::sync::Arc or std::rc::Rc).