Skip to main content

Module spec

Module spec 

Source
Expand description

The wire shape of a document and its dispatch to a payload type.

Re-exportsยง

pub use self::structured::StructuredSpec;
pub use self::text::TextSpec;

Modulesยง

structured ๐Ÿ”’
The payload of a structured document.
text ๐Ÿ”’
The payload of a plain text document.

Enumsยง

DocumentSpec
A complete desired document or a source-preserving partial document.

Traitsยง

Payload ๐Ÿ”’
What every kind of document declares and does.