Enum rustpython_common::cformat::CFormatPart
source · pub enum CFormatPart<T> {
Literal(T),
Spec(CFormatSpec),
}
Variants§
Literal(T)
Spec(CFormatSpec)
Implementations§
source§impl<T> CFormatPart<T>
impl<T> CFormatPart<T>
Trait Implementations§
source§impl<T: Debug> Debug for CFormatPart<T>
impl<T: Debug> Debug for CFormatPart<T>
source§impl<T: PartialEq> PartialEq<CFormatPart<T>> for CFormatPart<T>
impl<T: PartialEq> PartialEq<CFormatPart<T>> for CFormatPart<T>
source§fn eq(&self, other: &CFormatPart<T>) -> bool
fn eq(&self, other: &CFormatPart<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.