pub enum Grammem {
Show 13 variants
ParteSpeech(ParteSpeech),
Animacy(Animacy),
Aspect(Aspect),
Case(Case),
Gender(Gender),
Involvement(Involvement),
Mood(Mood),
Number(Number),
Trans(Transitivity),
Tense(Tense),
Voice(Voice),
Person(Person),
Other(Other),
}
Variants§
ParteSpeech(ParteSpeech)
Часть речи
Animacy(Animacy)
Одушевленность
Aspect(Aspect)
Вид: Совершенный (true), несовершенный (false) вид
Case(Case)
Падеж
Gender(Gender)
Involvement(Involvement)
Включенность говорящего в действие
Mood(Mood)
Наклонение: повелительное, изъявительное
Number(Number)
Лицо: единственное, множественное
Trans(Transitivity)
Переходный (true), непереходный (false)
Tense(Tense)
Время
Voice(Voice)
Залог
Person(Person)
Категория лица
Other(Other)
Implementations§
source§impl Grammem
impl Grammem
pub fn pos(&self) -> Option<ParteSpeech>
pub fn pos_in_tag(vec: &[Self]) -> Option<ParteSpeech>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Grammem
impl<'de> Deserialize<'de> for Grammem
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
source§impl Ord for Grammem
impl Ord for Grammem
source§impl PartialEq for Grammem
impl PartialEq for Grammem
source§impl PartialOrd for Grammem
impl PartialOrd for Grammem
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Grammem
impl Eq for Grammem
impl StructuralPartialEq for Grammem
Auto Trait Implementations§
impl Freeze for Grammem
impl RefUnwindSafe for Grammem
impl Send for Grammem
impl Sync for Grammem
impl Unpin for Grammem
impl UnwindSafe for Grammem
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