Enum fmt_macros::Flag
[−]
[src]
pub enum Flag {
FlagSignPlus,
FlagSignMinus,
FlagAlternate,
FlagSignAwareZeroPad,
}Unstable (
rustc_private)Various flags which can be applied to format strings. The meaning of these flags is defined by the formatters themselves.
Variants
FlagSignPlusUnstable (
rustc_private)A + will be used to denote positive numbers.
FlagSignMinusUnstable (
rustc_private)A - will be used to denote negative numbers. This is the default.
FlagAlternateUnstable (
rustc_private)An alternate form will be used for the value. In the case of numbers, this means that the number will be prefixed with the supplied string.
FlagSignAwareZeroPadUnstable (
rustc_private)For numbers, this means that the number will be padded with zeroes,
and the sign (+ or -) will precede them.
Trait Implementations
Derived Implementations
impl PartialEq for Flag[src]
fn eq(&self, __arg_0: &Flag) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Clone for Flag[src]
fn clone(&self) -> Flag
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more