bytemuck::allocation::sealed

Trait BoxBytesOf

Source
pub trait BoxBytesOf {
    // Required method
    fn box_bytes_of(self: Box<Self>) -> BoxBytes;
}

Required Methods§

Source

fn box_bytes_of(self: Box<Self>) -> BoxBytes

Implementations on Foreign Types§

Source§

impl BoxBytesOf for str

Source§

fn box_bytes_of(self: Box<Self>) -> BoxBytes

Source§

impl<T: NoUninit> BoxBytesOf for [T]

Source§

fn box_bytes_of(self: Box<Self>) -> BoxBytes

Implementors§