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

Function convert_dom_to_string

core/src/utils.rs:30–34  ·  view source on GitHub ↗

for debug

(root: &Option<Rc<RefCell<Node>>>)

Source from the content-addressed store, hash-verified

28
29/// for debug
30pub fn convert_dom_to_string(root: &Option<Rc<RefCell<Node>>>) -> String {
31 let mut result = String::from("\n");
32 convert_dom_to_string_internal(root, 0, &mut result);
33 result
34}
35
36fn convert_dom_to_string_internal(
37 node: &Option<Rc<RefCell<Node>>>,

Callers 1

create_frameMethod · 0.85

Calls 1

Tested by

no test coverage detected