(&self, node_id: u64)
| 1745 | } |
| 1746 | |
| 1747 | fn remote_node_object(&self, node_id: u64) -> Value { |
| 1748 | let description = self |
| 1749 | .nodes |
| 1750 | .get(&node_id) |
| 1751 | .map(|node| node_description(&node.node)) |
| 1752 | .unwrap_or_else(|| "#document".to_owned()); |
| 1753 | json!({ |
| 1754 | "type": "object", |
| 1755 | "subtype": "node", |
| 1756 | "className": "SimDeckNode", |
| 1757 | "description": description, |
| 1758 | "objectId": format!("node:{node_id}"), |
| 1759 | }) |
| 1760 | } |
| 1761 | |
| 1762 | fn box_model(&self, node_id: u64) -> Value { |
| 1763 | let rect = self |
nothing calls this directly
no test coverage detected