pub enum Voice {
Active,
Passive,
}Expand description
Voice controls whether the verb is rendered in active or passive form.
Variants§
Active
“Foo renamed Foobar” — subject performs the action.
Passive
“Foo was renamed to Foobar” — subject receives the action. Default.
Trait Implementations§
impl Copy for Voice
impl Eq for Voice
impl StructuralPartialEq for Voice
Auto Trait Implementations§
impl Freeze for Voice
impl RefUnwindSafe for Voice
impl Send for Voice
impl Sync for Voice
impl Unpin for Voice
impl UnsafeUnpin for Voice
impl UnwindSafe for Voice
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