(&mut self, subplot: &str)
| 195 | } |
| 196 | |
| 197 | pub(super) fn set_subplot_reference(&mut self, subplot: &str) { |
| 198 | if let Some(obj) = self.data.as_object_mut() { |
| 199 | obj.insert("subplot".to_string(), json!(subplot)); |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | pub(super) fn ensure_color(&mut self, global_index: usize) { |
| 204 | let trace_type = self.data.get("type").and_then(|v| v.as_str()).unwrap_or(""); |
no outgoing calls
no test coverage detected