(&self)
| 193 | |
| 194 | impl TTSCommandValue { |
| 195 | fn get_num(&self) -> f64 { |
| 196 | match self { |
| 197 | TTSCommandValue::Number(n) => return *n, |
| 198 | _ => panic!("Internal error: TTSCommandValue is not a number"), |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | fn get_string(&self) -> &String { |
| 203 | match self { |
no outgoing calls
no test coverage detected