pub trait RenderNode<W> {
// Required method
fn render_node<'a>(
&self,
writer: &mut W,
source: &'a str,
arena: &'a Arena,
node_ref: NodeRef,
entering: bool,
context: &mut Context,
) -> Result<WalkStatus>;
}Expand description
Traits for rendering nodes.
Required Methods§
fn render_node<'a>( &self, writer: &mut W, source: &'a str, arena: &'a Arena, node_ref: NodeRef, entering: bool, context: &mut Context, ) -> Result<WalkStatus>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".