Enum fixed_decimal::decimal::Sign
source · pub enum Sign {
None,
Negative,
Positive,
}
Expand description
A specification of the sign used when formatting a number.
Variants§
None
No sign (implicitly positive, e.g., 1729).
Negative
A negative sign, e.g., -1729.
Positive
An explicit positive sign, e.g., +1729.
Trait Implementations§
source§impl PartialEq for Sign
impl PartialEq for Sign
impl Copy for Sign
impl Eq for Sign
impl StructuralPartialEq for Sign
Auto Trait Implementations§
impl Freeze for Sign
impl RefUnwindSafe for Sign
impl Send for Sign
impl Sync for Sign
impl Unpin for Sign
impl UnwindSafe for Sign
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