#[non_exhaustive]pub enum FtsLanguage {
Show 18 variants
Arabic,
Danish,
Dutch,
English,
Finnish,
French,
German,
Greek,
Hungarian,
Italian,
Norwegian,
Portuguese,
Romanian,
Russian,
Spanish,
Swedish,
Tamil,
Turkish,
}Expand description
Language used for stemming and built-in stop-word removal.
Mirrors the 18 languages the Lance tokenizer supports. Note that not every
language ships a built-in stop-word list; the backend mapper handles those
cases (see uni-store).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Arabic
Arabic.
Danish
Danish.
Dutch
Dutch.
English
English (default).
Finnish
Finnish.
French
French.
German
German.
Greek
Greek.
Hungarian
Hungarian.
Italian
Italian.
Norwegian
Norwegian.
Portuguese
Portuguese.
Romanian
Romanian.
Russian
Russian.
Spanish
Spanish.
Swedish
Swedish.
Tamil
Tamil.
Turkish
Turkish.
Trait Implementations§
Source§impl Clone for FtsLanguage
impl Clone for FtsLanguage
Source§fn clone(&self) -> FtsLanguage
fn clone(&self) -> FtsLanguage
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 moreimpl Copy for FtsLanguage
Source§impl Debug for FtsLanguage
impl Debug for FtsLanguage
Source§impl Default for FtsLanguage
impl Default for FtsLanguage
Source§fn default() -> FtsLanguage
fn default() -> FtsLanguage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FtsLanguage
impl<'de> Deserialize<'de> for FtsLanguage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FtsLanguage
Source§impl PartialEq for FtsLanguage
impl PartialEq for FtsLanguage
Source§impl Serialize for FtsLanguage
impl Serialize for FtsLanguage
impl StructuralPartialEq for FtsLanguage
Auto Trait Implementations§
impl Freeze for FtsLanguage
impl RefUnwindSafe for FtsLanguage
impl Send for FtsLanguage
impl Sync for FtsLanguage
impl Unpin for FtsLanguage
impl UnsafeUnpin for FtsLanguage
impl UnwindSafe for FtsLanguage
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more