pub enum Negatives {
Minus,
Parentheses,
}Expand description
How the source writes a value below zero.
Variants§
Minus
A minus sign in front of the value — -2,899.99. The ordinary case,
and what a picture with no second half means.
Parentheses
Brackets around the whole value — ($2,899.99), the way a ledger
writes one. Stated with a second picture after a semicolon.
Trait Implementations§
impl Copy for Negatives
impl Eq for Negatives
impl StructuralPartialEq for Negatives
Auto Trait Implementations§
impl Forget for Negatives
impl Freeze for Negatives
impl Move for Negatives
impl RefUnwindSafe for Negatives
impl Send for Negatives
impl Sync for Negatives
impl Unpin for Negatives
impl UnsafeUnpin for Negatives
impl UnwindSafe for Negatives
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