for debug
(node: &Option<Rc<RefCell<LayoutObject>>>)
| 52 | |
| 53 | /// for debug |
| 54 | pub 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 | |
| 60 | fn convert_layout_tree_to_string_internal( |
| 61 | node: &Option<Rc<RefCell<LayoutObject>>>, |
no test coverage detected