Function bytemuck::allocation::from_box_bytes
source · pub fn from_box_bytes<T: AnyBitPattern>(input: BoxBytes) -> Box<T>Expand description
Re-interprets BoxBytes as Box<T>.
§Panics
This is try_from_box_bytes but will panic on error and the input will be
dropped.