orx_concurrent_iter/implementations/slice_mut/
into_con_iter.rs

1use super::con_iter::ConIterSliceMut;
2use crate::into_concurrent_iter::IntoConcurrentIter;
3
4impl<'a, T: 'a> IntoConcurrentIter for &'a mut [T]
5where
6    T: Send,
7{
8    type Item = &'a mut T;
9
10    type IntoIter = ConIterSliceMut<'a, T>;
11
12    fn into_con_iter(self) -> Self::IntoIter {
13        Self::IntoIter::new(self)
14    }
15}