pub enum Sign {
Plus,
Minus,
}
🔬This is a nightly-only experimental API. (
formatting_options
)Expand description
The signedness of a Formatter
(or of a FormattingOptions
).
Variants§
Plus
🔬This is a nightly-only experimental API. (
formatting_options
)Represents the +
flag.
Minus
🔬This is a nightly-only experimental API. (
formatting_options
)Represents the -
flag.
Trait Implementations§
impl Copy 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