pub enum NewNode {
Raw(String),
Built(BuiltNode),
}Expand description
A new node to be inserted into the arena. In Phase 5, this is a simple enum. The builder in PluginContext creates these to queue for arena rebuild.
Variants§
Raw(String)
A raw Markdown string that Rust parses (the raw escape hatch)
Built(BuiltNode)
A fully specified node (built with NodeBuilder)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewNode
impl RefUnwindSafe for NewNode
impl Send for NewNode
impl Sync for NewNode
impl Unpin for NewNode
impl UnsafeUnpin for NewNode
impl UnwindSafe for NewNode
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