for debug
(root: &Option<Rc<RefCell<Node>>>)
| 28 | |
| 29 | /// for debug |
| 30 | pub 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 | |
| 36 | fn convert_dom_to_string_internal( |
| 37 | node: &Option<Rc<RefCell<Node>>>, |
no test coverage detected