Extract as vector if possible
(&self)
| 268 | |
| 269 | /// Extract as vector if possible |
| 270 | pub fn as_vector(&self) -> Option<&Vec<f32>> { |
| 271 | match self { |
| 272 | Value::Vector(v) => Some(v), |
| 273 | _ => None, |
| 274 | } |
| 275 | } |
| 276 | |
| 277 | /// Extract as path if possible |
| 278 | pub fn as_path(&self) -> Option<&PathValue> { |
nothing calls this directly
no outgoing calls
no test coverage detected