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;

impl<T> Default for ImpVec<T> {
    /// Creates a new empty imp-vec.
    ///
    /// # Example
    ///
    /// ```rust
    /// use orx_imp_vec::*;
    ///
    /// let imp_vec: ImpVec<usize> = ImpVec::default();
    /// assert!(imp_vec.is_empty());
    /// ```
    fn default() -> Self {
        Self::new()
    }
}