Struct libmathcat::speech::SpeechRules
source · [−]Expand description
SpeechRulesWithContext encapsulates a named group of speech rules (e.g, “ClearSpeak”)
along with the preferences to be used for speech.
Fields
pref_manager: Rc<RefCell<PreferenceManager>>Implementations
sourceimpl SpeechRules
impl SpeechRules
pub fn new(name: RulesFor, translate_single_chars_only: bool) -> SpeechRules
pub fn get_error(&self) -> Option<&str>
pub fn initialize_all_rules() -> Result<()>
pub fn read_files(&mut self) -> Result<()>
pub fn invalidate(&mut self, changes: FilesChanged)
pub fn update()
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SpeechRules
impl !Send for SpeechRules
impl !Sync for SpeechRules
impl Unpin for SpeechRules
impl !UnwindSafe for SpeechRules
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more