pub fn pick<T>(&self, if_left: T, if_right: T) -> T {
        match self {
            &Dir::Left => if_left,
            &Dir::Right => if_right,
        }
    }
/// Pick between two alternatives, depending on the direction
Pick between two alternatives, depending on the direction
Pick between two alternatives depending on the direction
pub fn pick<T>(&self, if_left: T, if_right: T) -> T {
        match self {
            &Dir::Left => if_left,
            &Dir::Right => if_right,
        }
    }
pub fn pick < T > ( & self , if_left : T , if_right : T ) -> T { match self { & Dir :: Left => if_left , & Dir :: Right => if_right , } }
Pick between two alternatives, depending on the direction
Pick between two alternatives depending on the direction
&self
if_left
T
if_right
T
&self
if_left
T
if_right
T