pub enum VerbForm {
LemmaForm,
PastForm,
ProgressiveForm,
ThirdPersonSingularPresentForm,
}Variants§
Implementations§
Source§impl VerbForm
impl VerbForm
Sourcepub const fn is_lemma_form(&self) -> bool
pub const fn is_lemma_form(&self) -> bool
Returns true if self is of variant LemmaForm.
Sourcepub const fn is_past_form(&self) -> bool
pub const fn is_past_form(&self) -> bool
Returns true if self is of variant PastForm.
Sourcepub const fn is_progressive_form(&self) -> bool
pub const fn is_progressive_form(&self) -> bool
Returns true if self is of variant ProgressiveForm.
Sourcepub const fn is_third_person_singular_present_form(&self) -> bool
pub const fn is_third_person_singular_present_form(&self) -> bool
Returns true if self is of variant ThirdPersonSingularPresentForm.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VerbForm
impl<'de> Deserialize<'de> for VerbForm
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 PartialOrd for VerbForm
impl PartialOrd for VerbForm
impl Copy for VerbForm
impl Eq for VerbForm
impl StructuralPartialEq for VerbForm
Auto Trait Implementations§
impl Freeze for VerbForm
impl RefUnwindSafe for VerbForm
impl Send for VerbForm
impl Sync for VerbForm
impl Unpin for VerbForm
impl UnwindSafe for VerbForm
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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