Introduce the corresponding non-render types.

This commit is contained in:
Tom Alexander
2023-10-24 00:36:08 -04:00
parent 3b472a9e96
commit 2b7a19a1d4
19 changed files with 91 additions and 10 deletions

10
src/context/heading.rs Normal file
View File

@@ -0,0 +1,10 @@
use serde::Serialize;
use super::RenderObject;
#[derive(Debug, Serialize)]
#[serde(tag = "type")]
#[serde(rename = "heading")]
pub(crate) struct RenderHeading {
title: Vec<RenderObject>,
}