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

Gets the bytes of a constant slice value.