pub enum HedgeMode {
Adverb,
Modal,
Prefix,
}Expand description
Which form the hedge should take.
Variants§
Adverb
Adverb: “certainly”, “likely”, “probably”, “possibly”, “perhaps”. Fits templates like “X {conf|hedge} broke the build”.
Modal
Modal verb: “must”, “should”, “may”, “might”, “could”. Fits templates like “X {conf|hedge:modal} break the build”.
Prefix
Prefix phrase: “It is certain that”, “It is likely that”, “Probably”, “Possibly”, “Perhaps”. Fits templates where the hedge leads a clause.
Trait Implementations§
impl Copy for HedgeMode
impl Eq for HedgeMode
impl StructuralPartialEq for HedgeMode
Auto Trait Implementations§
impl Freeze for HedgeMode
impl RefUnwindSafe for HedgeMode
impl Send for HedgeMode
impl Sync for HedgeMode
impl Unpin for HedgeMode
impl UnsafeUnpin for HedgeMode
impl UnwindSafe for HedgeMode
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