pub struct TextAnalyzer { /* private fields */ }Implementations§
Source§impl TextAnalyzer
impl TextAnalyzer
pub fn builder<T: Tokenizer>(tokenizer: T) -> TextAnalyzerBuilder<T>
pub fn token_stream<'a>(&'a mut self, text: &'a str) -> BoxTokenStream<'a>
Trait Implementations§
Source§impl Clone for TextAnalyzer
impl Clone for TextAnalyzer
Source§fn clone(&self) -> TextAnalyzer
fn clone(&self) -> TextAnalyzer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for TextAnalyzer
impl Default for TextAnalyzer
Auto Trait Implementations§
impl Freeze for TextAnalyzer
impl !RefUnwindSafe for TextAnalyzer
impl Send for TextAnalyzer
impl Sync for TextAnalyzer
impl Unpin for TextAnalyzer
impl UnsafeUnpin for TextAnalyzer
impl !UnwindSafe for TextAnalyzer
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