[]Function opaque_pointer::mut_object

pub unsafe fn mut_object<'a, T>(pointer: *mut T) -> &'a mut T

Mutable reference to a object but without back to own it.

That's the difference with own_back<T>(), you must use own_back<T>() to own it again and it will be dropped.

Safety

Invalid pointer or call it twice could cause an undefined behavior or heap error and a crash.