Struct elasticlunr::lang::English
source · [−]pub struct English { /* private fields */ }
Implementations
Trait Implementations
sourceimpl Language for English
impl Language for English
sourcefn tokenize(&self, text: &str) -> Vec<String>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
fn tokenize(&self, text: &str) -> Vec<String>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Separates the input text into individual tokens. In most languages a token is a word, separated by whitespace.
sourcefn make_pipeline(&self) -> Pipeline
fn make_pipeline(&self) -> Pipeline
Returns the Pipeline
to process the tokens with
Auto Trait Implementations
impl RefUnwindSafe for English
impl Send for English
impl Sync for English
impl Unpin for English
impl UnwindSafe for English
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