GrammarSetterTrait

Trait GrammarSetterTrait 

Source
pub trait GrammarSetterTrait {
    // Required methods
    fn stop_word_done_mut(&mut self) -> &mut Option<String>;
    fn stop_word_no_result_mut(&mut self) -> &mut Option<String>;

    // Provided methods
    fn set_stop_word_done<T: AsRef<str>>(&mut self, stop_word: T) -> &mut Self
       where Self: Sized { ... }
    fn set_stop_word_no_result<T: AsRef<str>>(
        &mut self,
        stop_word: T,
    ) -> &mut Self
       where Self: Sized { ... }
}

Required Methods§

Provided Methods§

Source

fn set_stop_word_done<T: AsRef<str>>(&mut self, stop_word: T) -> &mut Self
where Self: Sized,

Source

fn set_stop_word_no_result<T: AsRef<str>>(&mut self, stop_word: T) -> &mut Self
where Self: Sized,

Implementors§