Trait cpp_demangle::DemangleWrite [−][src]
pub trait DemangleWrite { fn write_string(&mut self, s: &str) -> Result; fn push_demangle_node(&mut self, _: DemangleNodeType) { ... } fn pop_demangle_node(&mut self) { ... } }
Sink for demangled text that reports syntactic structure.
Required methods
fn write_string(&mut self, s: &str) -> Result
[src]
Same as fmt::Write::write_str
.
Provided methods
fn push_demangle_node(&mut self, _: DemangleNodeType)
[src]
Called when we are entering the scope of some AST node.
fn pop_demangle_node(&mut self)
[src]
Called when we are exiting the scope of some AST node for
which push_demangle_node
was called.
Implementors
impl<W: Write> DemangleWrite for W
[src]
impl<W: Write> DemangleWrite for W
[src]