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

Method get_speech_unicode_file

src/prefs.rs:802–807  ·  view source on GitHub ↗

Return the unicode.yaml file locations.

(&self)

Source from the content-addressed store, hash-verified

800
801 /// Return the unicode.yaml file locations.
802 pub fn get_speech_unicode_file(&self) ->(PathBuf, PathBuf) {
803 if !self.error.is_empty() {
804 panic!("Internal error: get_speech_unicode_file called on invalid PreferenceManager -- error message\n{}", &self.error);
805 };
806 return (self.speech_unicode.files[0].as_ref().unwrap().to_path_buf(), self.speech_unicode_full.files[0].as_ref().unwrap().to_path_buf());
807 }
808
809 /// Return the speech rule style file locations.
810 pub fn get_braille_file(&self) -> &Locations {

Callers 1

read_unicodeMethod · 0.80

Calls 1

is_emptyMethod · 0.80

Tested by

no test coverage detected