pub enum RenderOut {
String {
string: String,
},
WireAst {
ast: WireNode,
},
}Expand description
The result of on_render. Either a target-format string snippet or a
wire AST in a tree-shaped target’s vocabulary.
Variants§
String
String-shaped target (HTML, LaTeX, Markdown).
WireAst
Tree-shaped target (intermediate AST, namespace-defined format).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RenderOut
impl<'de> Deserialize<'de> for RenderOut
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for RenderOut
Auto Trait Implementations§
impl Freeze for RenderOut
impl RefUnwindSafe for RenderOut
impl Send for RenderOut
impl Sync for RenderOut
impl Unpin for RenderOut
impl UnsafeUnpin for RenderOut
impl UnwindSafe for RenderOut
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more