• Romain Vimont's avatar
    Implement operator[] for PlaneSlice · 95679004
    Romain Vimont authored
    Implement trait Index to access PlaneSlice rows as if it was a
    two-dimensional array.
    
    That way, we can write:
    
        let row = &plane_slice[5];
        let value = plane_slice[5][3];
    95679004
plane.rs 13.3 KB