Crate emdoc

Crate emdoc 

Source
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§

FieldEdit
=========================== Streaming Transform API
Mdoc
=========================== Root MDOC (owned, editable)
ZBlock
=========================== Z Block (Tilt Image collection metadata)

Enums§

FieldError
=========================== Field-level Errors
HeaderEntry
=========================== Header
ParseError
=========================== Errors
ValidationError
=========================== Validation Errors

Traits§

FromMdocValue
=========================== Typed value access
MdocVisitor
=========================== Streaming Visitor API

Functions§

parse_stream
transform