pub fn parse(text: &str) -> Result<MetaInfo, MetaParseError>Expand description
Parse a .meta file’s text contents.
Format reference: https://docs.unity3d.com/Manual/SpecialFolders.html
Robust enough for the YAML subset Unity emits — line-oriented, key: value,
without resorting to a full YAML parser.
Single-pass: walks every line once, picking off the guid, the
TextureImporter mode fields, and the spriteSheet sprites: list in
the same loop. Replaces the older four-scan-per-file shape — a
measurable cold-path win since str::lines is memchr-bound and
every redundant pass is wasted SIMD time.