rust: Move lazy initialization of `Repo::dirstate_map` into a generic struct...
rust: Move lazy initialization of `Repo::dirstate_map` into a generic struct
More components of `Repo` will be added following the same pattern.
Differential Revision:
https://phab.mercurial-scm.org/D11405