Expand description
Canonical, serializable wire form of an extracted text span.
TextSpanInfo is the single source of truth for the shape of a
positioned text span as delivered to every SDK binding (Tauri/serde,
Node/napi, WASM). Bindings construct it from a TextSpan via From
and then serialize or re-shape it for their target runtime, instead of each
maintaining a separate field list and conversion logic.
The serde derive is feature-gated so the core engine stays
serialization-agnostic; the struct and the From conversion are always
available, so non-serde bindings (e.g. napi) consume the same source.
Structs§
- Text
Span Info - A positioned text span in PDF user space (origin bottom-left, y up).