rust/vec2d/src/lib.rs
branchtransitional_engine
changeset 15912 6e22f4390b7e
parent 15901 f39f0f614dbf
child 15913 c5684cc62de8
equal deleted inserted replaced
15906:b4809653f9d6 15912:6e22f4390b7e
     2     ops::{Index, IndexMut},
     2     ops::{Index, IndexMut},
     3     slice::SliceIndex
     3     slice::SliceIndex
     4 };
     4 };
     5 use integral_geometry::Size;
     5 use integral_geometry::Size;
     6 
     6 
       
     7 #[derive(Debug)]
     7 pub struct Vec2D<T> {
     8 pub struct Vec2D<T> {
     8     data: Vec<T>,
     9     data: Vec<T>,
     9     size: Size,
    10     size: Size,
    10 }
    11 }
    11 
    12