You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: debug.rs
    path of file: ./repos/bevy/crates/bevy_ui/src/layout
    
    the code of the file until where you have to start completion: use crate::UiSurface;
use bevy_ecs::prelude::Entity;
use bevy_utils::HashMap;
use std::fmt::Write;
use taffy::prelude::Node;
use taffy::tree::LayoutTree;

/// Prints a debug representation of the computed layout of the UI layout tree for each window.
pub fn print_ui_layout_tree(ui_surface: &UiSurface) {
    let taffy_to_entity: HashMap<Node, Entity> = ui_surface
        .entity_to_taffy
        .iter()
        .map(|(entity, 
    
pub fn print_ui_layout_tree(ui_surface: &UiSurface) {
    let taffy_to_entity: HashMap<Node, Entity> = ui_surface
        .entity_to_taffy
        .iter()
        .map(|(entity, node)| (*node, *entity))
        .collect();
    for (&entity, roots) in &ui_surface.camera_roots {
        let mut out = String::new();
        for root in roots {
            print_node(
                ui_surface,
                &taffy_to_entity,
                entity,
                root.implicit_viewport_node,
                false,
                String::new(),
                &mut out,
            );
        }
        bevy_utils::tracing::info!("Layout tree for camera entity: {entity:?}\n{out}");
    }
}