[−][src]Enum extrablatt::language::Language
Variants
Other(String)
Implementations
impl Language
[src]
pub fn known_languages() -> Iter<'static, Language>
[src]
All known languages.
pub fn identifier(&self) -> &str
[src]
pub fn full_name(&self) -> &str
[src]
pub fn stopword_count(&self, txt: &str) -> Option<WordsStats>
[src]
Counts the number of stopwords in the text, if stopwords for that language are available.
pub fn stopwords(&self) -> Option<&[&str]>
[src]
Get the stopwords for a language.
Trait Implementations
impl Clone for Language
[src]
impl Debug for Language
[src]
impl Default for Language
[src]
impl Eq for Language
[src]
impl FromStr for Language
[src]
type Err = Language
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl PartialEq<Language> for Language
[src]
impl StructuralEq for Language
[src]
impl StructuralPartialEq for Language
[src]
Auto Trait Implementations
impl RefUnwindSafe for Language
impl Send for Language
impl Sync for Language
impl Unpin for Language
impl UnwindSafe for Language
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,