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 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> AcceptDefault<T> for T
impl<T> AcceptDefault<T> for T
fn unwrap_or_default(self) -> T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.