Function rustc_const_eval::interpret::get_slice_bytes
source · pub fn get_slice_bytes<'tcx>(
cx: &impl HasDataLayout,
val: ConstValue<'tcx>
) -> &'tcx [u8] ⓘ
Expand description
Gets the bytes of a constant slice value.