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
16
use crate::VectorGrid;


/// Air tiles are tiles that the grid sees as unimportant filler space.
/// You can shave off air tiles by calling VectorGrid.trim()
/// 
/// For this to work, it is importand that every tile returned by the default is also an air tile.
pub trait Air: Default {
    /// Returns true if this tile is an air tile.
    /// Air tiles are tiles that the grid sees as unimportant filler space.
    fn is_air(&self) -> bool;
}

impl<ItemType: Air> VectorGrid<ItemType> {
    
}