orx-imp-vec 2.17.0

`ImpVec` stands for immutable push vector 👿, it is a data structure which allows appending elements with a shared reference.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::ImpVec;
use orx_concurrent_iter::IntoConcurrentIter;
use orx_fixed_vec::PinnedVec;

impl<T, P> IntoConcurrentIter for ImpVec<T, P>
where
    P: PinnedVec<T> + IntoConcurrentIter<Item = T>,
    T: Send + Sync,
{
    type Item = T;

    type IntoIter = <P as IntoConcurrentIter>::IntoIter;

    fn into_con_iter(self) -> Self::IntoIter {
        self.into_inner().into_con_iter()
    }
}