pub fn step_mut(&mut self, direction: Direction) -> Location {
        let next = self.step(direction);
        self.x = next.x;
        self.y = next.y;
        *self

    }
//step_mut destructively moves this location in the given direction
step_mut destructively moves this location in the given direction
step_mut destructively moves this location in the given direction
pub fn step_mut(&mut self, direction: Direction) -> Location {
        let next = self.step(direction);
        self.x = next.x;
        self.y = next.y;
        *self
    }
pub fn step_mut ( & mut self , direction : Direction ) -> Location { let next = self . step ( direction ) ; self . x = next . x ; self . y = next . y ; * self }
step_mut destructively moves this location in the given direction
step_mut destructively moves this location in the given direction
&mut self
direction
Direction
&mut self
direction
Direction