Trait bytemuck::allocation::sealed::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§