Struct libmathcat::speech::MyXPath
source · pub struct MyXPath { /* private fields */ }Implementations§
source§impl<'r> MyXPath
impl<'r> MyXPath
pub fn build(xpath: &Yaml) -> Result<MyXPath>
pub fn replace<'c, 's: 'c, 'm: 'c, T: TreeOrString<'c, 'm, T>>( &self, rules_with_context: &'r mut SpeechRulesWithContext<'c, 's, 'm>, mathml: Element<'c> ) -> Result<T>
pub fn evaluate<'a, 'c>( &'a self, context: &'r Context<'c>, mathml: Element<'c> ) -> Result<Value<'c>>
pub fn test_input<F>(self, f: F) -> boolwhere F: Fn(&str) -> bool,
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MyXPath
impl !Send for MyXPath
impl !Sync for MyXPath
impl Unpin for MyXPath
impl !UnwindSafe for MyXPath
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more