Thanks to visit codestin.com
Credit goes to docs.rs

orx_imp_vec/common_traits/
into_con_iter_ref.rs

1use crate::ImpVec;
2use orx_concurrent_iter::IntoConcurrentIter;
3use orx_fixed_vec::PinnedVec;
4
5impl<'a, T, P> IntoConcurrentIter for &'a ImpVec<T, P>
6where
7    P: PinnedVec<T>,
8    &'a P: IntoConcurrentIter<Item = &'a T>,
9    T: Send + Sync,
10{
11    type Item = &'a T;
12
13    type IntoIter = <&'a P as IntoConcurrentIter>::IntoIter;
14
15    fn into_con_iter(self) -> Self::IntoIter {
16        self.pinned().into_con_iter()
17    }
18}