pub fn flip(&self) -> Dir {
        match *self {
            Dir::Left => Dir::Right,
            Dir::Right => Dir::Left,
        }
    }
/// Return a fresh Dir with the opposite direction
Return a fresh Dir with the opposite direction
Return a fresh Dir with the opposite direction
pub fn flip(&self) -> Dir {
        match *self {
            Dir::Left => Dir::Right,
            Dir::Right => Dir::Left,
        }
    }
pub fn flip ( & self ) -> Dir { match * self { Dir :: Left => Dir :: Right , Dir :: Right => Dir :: Left , } }
Return a fresh Dir with the opposite direction
Return a fresh Dir with the opposite direction
&self
&self