pub trait BoxExt<T> {
// Required methods
fn into_raw_parts(self) -> (*mut T, usize);
unsafe fn from_raw_parts(ptr: *mut T, len: usize) -> Self;
}Required Methods§
fn into_raw_parts(self) -> (*mut T, usize)
unsafe fn from_raw_parts(ptr: *mut T, len: usize) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.