pub fn get_slice_bytes<'tcx>(
    cx: &impl HasDataLayout,
    val: ConstValue<'tcx>
) -> &'tcx [u8]Notable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
Expand description

Gets the bytes of a constant slice value.