Function rustc_middle::mir::interpret::value::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.