Enum rustpython_format::FormatType
source · pub enum FormatType {
String,
Binary,
Character,
Decimal,
Octal,
Number(Case),
Hex(Case),
Exponent(Case),
GeneralFormat(Case),
FixedPoint(Case),
Percentage,
}
Variants§
String
Binary
Character
Decimal
Octal
Number(Case)
Hex(Case)
Exponent(Case)
GeneralFormat(Case)
FixedPoint(Case)
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 ==
.impl StructuralPartialEq for FormatType
Auto Trait Implementations§
impl RefUnwindSafe for FormatType
impl Send for FormatType
impl Sync for FormatType
impl Unpin for FormatType
impl UnwindSafe for FormatType
Blanket Implementations§
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