box_new

Function box_new 

Source
pub fn box_new<T>(x: T) -> Box<T>
where T: ?Sized,
Expand description

Like Box::new, but T can be ?Sized.

You will need #![feature(unsized_fn_params)] to call this.