box_raw_as_ref

Function box_raw_as_ref 

Source
pub unsafe exec fn box_raw_as_ref<'a, T: 'static>(
    raw: NonNull<T>,
    perm: Tracked<&'a BoxPointsTo<T>>,
) -> BoxRef<'a, T>
Expand description
requires
perm@.ptr() == ptr_mut_from_nonnull(raw),
perm@.inv(),