new_mut

Function new_mut 

Source
pub fn new_mut<Item, DynSliceFromType>(
    value: &mut [DynSliceFromType],
) -> SliceMut<'_, Item>
where Dyn<Item>: Pointee<Metadata = DynMetadata<Dyn<Item>>>, DynSliceFromType: 'static + Iterator<Item = Item>,
Expand description

Create a mutable dyn slice from a mutable slice of a type that implements Iterator.