Skip to main content

ProjectTreeVisible

Trait ProjectTreeVisible 

Source
pub trait ProjectTreeVisible {
    // Required methods
    fn show(&self);
    fn print_tree(&self);
    fn print_node(node: &TreeNode, depth: usize);
}
Expand description

项目树可视化

  • show:列出项目基础信息
  • print_tree:打印整个树结构
  • print_node:递归打印节点

Required Methods§

Source

fn show(&self)

Source

fn print_tree(&self)

Source

fn print_node(node: &TreeNode, depth: usize)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§