pub fn translate(&self, offset: impl Into<GridVector>) -> Self {
        // TODO: Must check for upper bounds overflow
        Self {
            lower_bounds: self.lower_bounds + offset.into(),
            sizes: self.sizes,
        }
    }
/// Moves the grid to another location with unchanged size and orientation.
///
/// ```
/// use all_is_cubes::space::Grid;
///
/// assert_eq!(
///     Grid::new((0, 0, 0), (10, 20, 30)).translate((-10, 0, 0)),
///     Grid::new((-10, 0, 0), (10, 20, 30)),
/// );
/// ```
Moves the grid to another location with unchanged size and orientation.


Moves the grid to another location with unchanged size and orientation .
pub fn translate(&self, offset: impl Into<GridVector>) -> Self {
        // TODO: Must check for upper bounds overflow
        Self {
            lower_bounds: self.lower_bounds + offset.into(),
            sizes: self.sizes,
        }
    }
pub fn translate ( & self , offset : impl Into < GridVector > ) -> Self { // TODO: Must check for upper bounds overflow Self { lower_bounds : self . lower_bounds + offset . into ( ) , sizes : self . sizes , } }
Moves the grid to another location with unchanged size and orientation.
Moves the grid to another location with unchanged size and orientation .
&self
offset
impl Into<GridVector>