Trait CustomNodeWriter

Source
pub trait CustomNodeWriter {
    // Required methods
    fn write_str(&mut self, s: &str) -> Result;
    fn write_char(&mut self, c: char) -> Result;
}
Expand description

Trait for custom node writer implementation

Required Methods§

Source

fn write_str(&mut self, s: &str) -> Result

Write a string to the output

Source

fn write_char(&mut self, c: char) -> Result

Write a character to the output

Implementors§