Skip to main content

make_sentinel

Function make_sentinel 

Source
pub fn make_sentinel<T, U>(ptr: *mut U) -> *mut T
Expand description

Create a sentinel pointer from a raw pointer.