unsafe fn data1_value_mut<T: TypedExternal>(
erased: ErasedExternalPtr,
) -> Option<&'static mut T>Expand description
The T that erased holds, with no RefCell borrow.
§Safety
As for altrep_data1_mut. The 'static lifetime is sound for the
callback: R’s GC protects the ALTREP object, and so its data1, while the
callback runs.