pub trait AsDoc {
// Required method
fn as_doc(&self) -> AsDocResult;
}
Expand description
A trait for formatting a parse unit as documentation.
Required Methods§
Sourcefn as_doc(&self) -> AsDocResult
fn as_doc(&self) -> AsDocResult
Formats a parse tree item into a doc string.