print_node in cargo::ops::tree - Rust
Description: Prints a package and all of its dependencies.

Skip to main content

## print_node

# Function print_node

Source

    fn print_node<'a>(
        ws: &Workspace<'_>,
        graph: &'a Graph<'_>,
        node_index: NodeId,
        format: &Pattern,
        symbols: &Symbols,
        pkgs_to_prune: &[PackageIdSpec],
        prefix: Prefix,
        no_dedupe: bool,
        display_depth: DisplayDepth,
        visited_deps: &mut HashSet<NodeId>,
        levels_continue: &mut Vec<(Style, bool)>,
        print_stack: &mut Vec<NodeId>,
    ) -> CargoResult<()>

Expand description

Prints a package and all of its dependencies.