Enum rustpython_common::format::FormatType
source · pub enum FormatType {
Show 15 variants
String,
Binary,
Character,
Decimal,
Octal,
HexLower,
HexUpper,
Number,
ExponentLower,
ExponentUpper,
GeneralFormatLower,
GeneralFormatUpper,
FixedPointLower,
FixedPointUpper,
Percentage,
}
Variants§
String
Binary
Character
Decimal
Octal
HexLower
HexUpper
Number
ExponentLower
ExponentUpper
GeneralFormatLower
GeneralFormatUpper
FixedPointLower
FixedPointUpper
Percentage
Trait Implementations§
source§impl Debug for FormatType
impl Debug for FormatType
source§impl From<&FormatType> for char
impl From<&FormatType> for char
source§fn from(from: &FormatType) -> char
fn from(from: &FormatType) -> char
Converts to this type from the input type.
source§impl PartialEq<FormatType> for FormatType
impl PartialEq<FormatType> for FormatType
source§fn eq(&self, other: &FormatType) -> bool
fn eq(&self, other: &FormatType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.