fn movement_to_move(m: Movement) -> Option<Move> {
        match m.total_turns % 4 {
            1 => Some(m.mv.with_variant(MoveVariant::Standard)),
            2 => Some(m.mv.with_variant(MoveVariant::Double)),
            3 => Some(m.mv.with_variant(MoveVariant::Inverse)),
            _ => None,
        }
    }
// returns a Move if the simplified movement has any effect on a cube
returns a Move if the simplified movement has any effect on a cube
returns a Move if the simplified movement has any effect on a cube
fn movement_to_move(m: Movement) -> Option<Move> {
        match m.total_turns % 4 {
            1 => Some(m.mv.with_variant(MoveVariant::Standard)),
            2 => Some(m.mv.with_variant(MoveVariant::Double)),
            3 => Some(m.mv.with_variant(MoveVariant::Inverse)),
            _ => None,
        }
    }
fn movement_to_move ( m : Movement ) -> Option < Move > { match m . total_turns % 4 { 1 => Some ( m . mv . with_variant ( MoveVariant :: Standard ) ) , 2 => Some ( m . mv . with_variant ( MoveVariant :: Double ) ) , 3 => Some ( m . mv . with_variant ( MoveVariant :: Inverse ) ) , _ => None , } }
returns a Move if the simplified movement has any effect on a cube
returns a Move if the simplified movement has any effect on a cube
m
Movement