MCPcopy Create free account
hub / github.com/daisy/MathCAT / get_string

Method get_string

src/tts.rs:202–207  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

200 }
201
202 fn get_string(&self) -> &String {
203 match self {
204 TTSCommandValue::String(s) => return s,
205 _ => panic!("Internal error: TTSCommandValue is not a string"),
206 }
207 }
208
209 fn get_pronounce(&self) -> &Pronounce {
210 match self {

Callers 1

get_string_noneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected