render_model library
The flat render model as the parse crate emits it, with the schema constants. Hosts that paint from a Projection rarely need this; tests and advanced consumers read it directly.
Classes
- BlockField
- BlockFlag
-
The named bits of a block's flags (RenderModel.blockFlags). A bit means
something only for the kinds that name it; the schema's
block_attrs(native/flark_parse/schema/render_model_v5.json, andSCHEMA.md) is their source. - BlockKind
- BlockKindFlags
-
Fields packed into
block.kind_flags. - CodeBlockExtra
-
Extra record of fenced
code_blockblocks. - ContentField
- ContentLineVirtual
-
Fields packed into
content.line_virtual. - DefinitionField
- DisplayTextExtra
-
Extra record of
replacementruns, andcoderuns with flags bit1. - FootnoteDefinitionExtra
-
Extra record of
footnote_definitionblocks. - FootnoteRefExtra
-
Extra record of
footnote_refruns. - HeaderField
- ItemExtra
-
Extra record of
itemblocks. - LineField
- LinkExtra
-
Extra record of
link,imageandautolinkruns. - RenderModel
-
The flat render model written by
flark_parse, read through typed-data views. Nothing is materialized until a host asks for it. - RenderModelSchema
- RunExtraField
- RunField
- RunFlag
-
The named bits of a run's flags (RenderModel.runFlags); the schema's
run_attrsare their source. - RunHidden
-
Fields packed into
run.hidden. - RunKind
- RunKindFlagsParent
-
Fields packed into
run.kind_flags_parent. - TableAlignment
- TableExtra
-
Extra record of
tableblocks. - WideRunExtra
- Extra record of runs with flags bit3; the other kind's record follows.