Function bytemuck::allocation::box_bytes_of

source ยท
pub fn box_bytes_of<T: BoxBytesOf + ?Sized>(input: Box<T>) -> BoxBytes
Expand description

Re-interprets Box<T> as BoxBytes.

T must be either Sized and NoUninit, [U] where U: NoUninit, or str.