pub type DirectionEntry<M> = Entry<Nullable<Direction>, M>;