extern_spec_std_ptr_slice_from_raw_parts

Function extern_spec_std_ptr_slice_from_raw_parts 

Source
pub fn extern_spec_std_ptr_slice_from_raw_parts<T>(
    data: *const T,
    len: usize,
) -> *const [T]
Expand description

extern spec for ::std::ptr::slice_from_raw_parts<T>

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

ensures

result as *const T == data && result.len_logic() == len