Enum fixed_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
impl Copy for Sign
impl Eq for Sign
impl StructuralEq for Sign
impl StructuralPartialEq for Sign
Auto Trait Implementations
impl RefUnwindSafe for Sign
impl Send for Sign
impl Sync for Sign
impl Unpin for Sign
impl UnwindSafe for Sign
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more