pub fn cond_flip(&self, do_flip: bool) -> Dir {
        if do_flip {
            self.flip()
        } else {
            *self
        }
    }
/// Return a fresh Dir opposite direction if do_flip == True
Return a fresh Dir opposite direction if do_flip == True
Return a fresh Dir opposite direction if do_flip == True
pub fn cond_flip(&self, do_flip: bool) -> Dir {
        if do_flip {
            self.flip()
        } else {
            *self
        }
    }
pub fn cond_flip ( & self , do_flip : bool ) -> Dir { if do_flip { self . flip ( ) } else { * self } }
Return a fresh Dir opposite direction if do_flip == True
Return a fresh Dir opposite direction if do_flip == True
&self
do_flip
bool
&self
do_flip
bool