pub enum VerbForm {
SimplePast,
SimplePresent,
SimpleFuture,
PresentPerfect,
PastPerfect,
FuturePerfect,
PresentProgressive,
PastProgressive,
Conditional,
ConditionalPerfect,
}Expand description
A fully-specified verb form. Convenience enum covering the most common
tense × aspect × mood combinations in English. Use with
Language::verb_phrase or template {…|verb:<form>} pipes.
Each variant maps cleanly to a (Tense, Aspect, Mood) triple — see
VerbForm::resolve. Names are written from an English perspective
but the trait-level composition is language-agnostic.
Variants§
SimplePast
“renamed” / “was renamed”
SimplePresent
“renames” / “is renamed”
SimpleFuture
“will rename” / “will be renamed”
PresentPerfect
“has renamed” / “has been renamed”
PastPerfect
“had renamed” / “had been renamed”
FuturePerfect
“will have renamed” / “will have been renamed”
PresentProgressive
“is renaming” / “is being renamed”
PastProgressive
“was renaming” / “was being renamed”
Conditional
“would rename” / “would be renamed”
ConditionalPerfect
“would have renamed” / “would have been renamed”
Implementations§
Trait Implementations§
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 UnsafeUnpin 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