nd_vector 0.1.0

[WIP] Lengthen! Shrink! Iterate! Scale! Twist and turn to your imagination along any dimension on a vector!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::slice::{Iter, IterMut};

use crate::VectorGrid;



impl<ItemType> VectorGrid<ItemType> {
    pub fn iter(&self) -> Iter<ItemType> {
        self.items.iter()
    }

    pub fn iter_mut(&mut self) -> IterMut<ItemType> {
        self.items.iter_mut()
    }
}