pub trait Show {
// Required methods
fn show(&self) -> DocTree;
fn show_prettier(&self, map: &IDMap) -> DocTree;
}
Expand description
Display a node as a tree component in multiple forms.
Required Methods§
Sourcefn show_prettier(&self, map: &IDMap) -> DocTree
fn show_prettier(&self, map: &IDMap) -> DocTree
A fancier form with more item tags/icons before subnodes and other improvements.
Implementations on Foreign Types§
Implementors§
impl Show for DConstant
impl Show for DEnum
impl Show for DFunction
impl Show for DImpl
impl Show for DMacroAttr
impl Show for DMacroDecl
impl Show for DMacroDerv
impl Show for DMacroFunc
impl Show for DModule
To a recursive tree displayed with ids as nodes.