MCPcopy Create free account
hub / github.com/d0iasm/saba / convert_layout_tree_to_string

Function convert_layout_tree_to_string

core/src/utils.rs:54–58  ·  view source on GitHub ↗

for debug

(node: &Option<Rc<RefCell<LayoutObject>>>)

Source from the content-addressed store, hash-verified

52
53/// for debug
54pub fn convert_layout_tree_to_string(node: &Option<Rc<RefCell<LayoutObject>>>) -> String {
55 let mut result = String::from("\n");
56 convert_layout_tree_to_string_internal(node, 0, &mut result);
57 result
58}
59
60fn convert_layout_tree_to_string_internal(
61 node: &Option<Rc<RefCell<LayoutObject>>>,

Callers 1

set_layout_viewMethod · 0.85

Tested by

no test coverage detected