Extract as time window if possible
(&self)
| 260 | |
| 261 | /// Extract as time window if possible |
| 262 | pub fn as_time_window(&self) -> Option<&TimeWindow> { |
| 263 | match self { |
| 264 | Value::TimeWindow(tw) => Some(tw), |
| 265 | _ => None, |
| 266 | } |
| 267 | } |
| 268 | |
| 269 | /// Extract as vector if possible |
| 270 | pub fn as_vector(&self) -> Option<&Vec<f32>> { |
nothing calls this directly
no outgoing calls
no test coverage detected