pub enum NumberChange {
Decrease(Count),
Increase(Count),
}Expand description
This represents how to change a number in text.
Variants§
Decrease(Count)
Decrease the first number in the targeted text by n.
Increase(Count)
Increase the first number in the targeted text by n.
Trait Implementations§
Source§impl Clone for NumberChange
impl Clone for NumberChange
Source§fn clone(&self) -> NumberChange
fn clone(&self) -> NumberChange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NumberChange
impl Debug for NumberChange
Source§impl PartialEq for NumberChange
impl PartialEq for NumberChange
impl Eq for NumberChange
impl StructuralPartialEq for NumberChange
Auto Trait Implementations§
impl Freeze for NumberChange
impl RefUnwindSafe for NumberChange
impl Send for NumberChange
impl Sync for NumberChange
impl Unpin for NumberChange
impl UnwindSafe for NumberChange
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