Macro unsize_box

Source
macro_rules! unsize_box {
    ( $boxed:expr $(,)? ) => { ... };
}
Expand description

Allows turning a Box<T: Sized, A> into a Box<U: ?Sized, A> where T can be unsizing-coerced into a U.

See [allocator_api2::unsize_box] for an explanation why this macro is necessary.