[][src]Function opaque_pointer::object

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

Convert raw pointer to type to type reference.

Safety

The pointer must be a valid reference to that value with that type.