Trait SliceExt
mm0_util
pub trait SliceExt<T> { fn cloned_box(&self) -> Box<[T]> where T: Clone; }
Extension trait for cloned_box.
cloned_box
fn cloned_box(&self) -> Box<[T]> where T: Clone,
Clones a slice into a boxed slice.
impl<T> SliceExt<T> for [T]