Struct collections::slice::IterMutStable
[-]
[+]
[src]
pub struct IterMut<'a, T: 'a> {
// some fields omitted
}Mutable slice iterator.
Methods
impl<'a, T> IterMut<'a, T>
fn into_slice(self) -> &'a mut [T]
View the underlying data as a subslice of the original data.
To avoid creating &mut references that alias, this is forced
to consume the iterator. Consider using the Slice and
SliceMut implementations for obtaining slices with more
restricted lifetimes that do not consume the iterator.