fn fst_var_direction(dir: VarDirection) -> FstVarDirection
Maps a wellen variable direction to its FST equivalent.