Skip to main content

extern_spec_T__ptrmut_T_cast_const

Function extern_spec_T__ptrmut_T_cast_const 

Source
pub fn extern_spec_T__ptrmut_T_cast_const<T: ?Sized>(self_: *mut T) -> *const T
Expand description

extern spec for pointer<T>::cast_const

This is not a real function: its only use is for documentation.

terminates

ghost

ensures

result == self as _