Enum rustpython_common::format::FormatPart
source · pub enum FormatPart {
Field {
field_name: String,
preconversion_spec: Option<char>,
format_spec: String,
},
Literal(String),
}
Variants§
Trait Implementations§
source§impl Debug for FormatPart
impl Debug for FormatPart
source§impl PartialEq<FormatPart> for FormatPart
impl PartialEq<FormatPart> for FormatPart
source§fn eq(&self, other: &FormatPart) -> bool
fn eq(&self, other: &FormatPart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.