Expand description
emdoc — a fast, lossless MDOC parser and writer for cryo-EM
Guarantees:
- Streaming parsing via
BufRead - Lossless round-trip (unless normalization APIs are called)
- Order preservation
- No schema enforcement
- Deterministic output
Note: Normalization APIs (normalize_spaces(), normalize_format()) intentionally
modify formatting. Raw values are automatically captured during parsing, so
lossless round-trip is always available via write_lossless().
Non-goals:
- Image handling
- Physics interpretation
- UI helpers
Structs§
- Field
Edit - =========================== Streaming Transform API
- Mdoc
- =========================== Root MDOC (owned, editable)
- ZBlock
- =========================== Z Block (Tilt Image collection metadata)
Enums§
- Field
Error - =========================== Field-level Errors
- Header
Entry - =========================== Header
- Parse
Error - =========================== Errors
- Validation
Error - =========================== Validation Errors
Traits§
- From
Mdoc Value - =========================== Typed value access
- Mdoc
Visitor - =========================== Streaming Visitor API