pub enum PythonFormatsField {
Show 104 variants
FunctionDef,
AsyncFunctionDef,
ClassDef,
Return,
Delete,
Assign,
TypeAlias,
AugmentedAssign,
AnnotatedAssign,
For,
AsyncFor,
While,
IfWithoutElse,
IfWithElse,
With,
AsyncWith,
Match,
Raise,
Try,
TryStar,
Assert,
Import,
ImportFrom,
Global,
NonLocal,
ExpressionStatement,
Pass,
Break,
Continue,
AndExpression,
OrExpression,
NamedExpr,
AddOperation,
SubOperation,
MulOperation,
MatMulOperation,
DivOperation,
ModOperation,
PowOperation,
LshiftOperation,
RshiftOperation,
BitOrOperation,
BitXorOperation,
BitAndOperation,
FloorDivOperation,
InvertOperation,
NotOperation,
UnaryAddOperation,
UnarySubOperation,
Lambda,
IfExpression,
DictExpression,
SetExpression,
ListComprehension,
SetComprehension,
DictComprehension,
GeneratorComprehension,
Await,
Yield,
YieldFrom,
EqualOperation,
NotEqualOperation,
LessThanOperation,
LessThanOrEqualOperation,
GreaterThanOperation,
GreaterThanOrEqualOperation,
IsOperation,
IsNotOperation,
InOperation,
NotInOperation,
Call,
PrintCallOneArgument,
PrintCallMultipleArguments,
InputCallNoArgument,
InputCallOneArgument,
FormattedValue,
JoinedString,
ConstantExpression,
Attribute,
Subscript,
Starred,
Name,
List,
Tuple,
Slice,
Identifier,
Arguments,
Argument,
ArgumentWithDefault,
Comprehension,
Keyword,
ConstantNone,
ConstantBool,
ConstantString,
ConstantBytes,
ConstantInteger,
ConstantTuples,
ConstantFloat,
ConstantComplex,
ConstantEllipsis,
WithItem,
MatchCase,
ExceptHandler,
Alias,
}Variants§
FunctionDef
AsyncFunctionDef
ClassDef
Return
Delete
Assign
TypeAlias
AugmentedAssign
AnnotatedAssign
For
AsyncFor
While
IfWithoutElse
IfWithElse
With
AsyncWith
Match
Raise
Try
TryStar
Assert
Import
ImportFrom
Global
NonLocal
ExpressionStatement
Pass
Break
Continue
AndExpression
OrExpression
NamedExpr
AddOperation
SubOperation
MulOperation
MatMulOperation
DivOperation
ModOperation
PowOperation
LshiftOperation
RshiftOperation
BitOrOperation
BitXorOperation
BitAndOperation
FloorDivOperation
InvertOperation
NotOperation
UnaryAddOperation
UnarySubOperation
Lambda
IfExpression
DictExpression
SetExpression
ListComprehension
SetComprehension
DictComprehension
GeneratorComprehension
Await
Yield
YieldFrom
EqualOperation
NotEqualOperation
LessThanOperation
LessThanOrEqualOperation
GreaterThanOperation
GreaterThanOrEqualOperation
IsOperation
IsNotOperation
InOperation
NotInOperation
Call
PrintCallOneArgument
PrintCallMultipleArguments
InputCallNoArgument
InputCallOneArgument
FormattedValue
JoinedString
ConstantExpression
Attribute
Subscript
Starred
Name
List
Tuple
Slice
Identifier
Arguments
Argument
ArgumentWithDefault
Comprehension
Keyword
ConstantNone
ConstantBool
ConstantString
ConstantBytes
ConstantInteger
ConstantTuples
ConstantFloat
ConstantComplex
ConstantEllipsis
WithItem
MatchCase
ExceptHandler
Alias
Trait Implementations§
Source§impl Display for PythonFormatsField
impl Display for PythonFormatsField
Source§impl From<String> for PythonFormatsField
impl From<String> for PythonFormatsField
Auto Trait Implementations§
impl Freeze for PythonFormatsField
impl RefUnwindSafe for PythonFormatsField
impl Send for PythonFormatsField
impl Sync for PythonFormatsField
impl Unpin for PythonFormatsField
impl UnsafeUnpin for PythonFormatsField
impl UnwindSafe for PythonFormatsField
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, U> OverflowingInto<U> for Twhere
U: OverflowingFrom<T>,
impl<T, U> OverflowingInto<U> for Twhere
U: OverflowingFrom<T>,
fn overflowing_into(self) -> (U, bool)
Source§impl<T, U> RoundingInto<U> for Twhere
U: RoundingFrom<T>,
impl<T, U> RoundingInto<U> for Twhere
U: RoundingFrom<T>,
fn rounding_into(self, rm: RoundingMode) -> (U, Ordering)
Source§impl<T, U> SaturatingInto<U> for Twhere
U: SaturatingFrom<T>,
impl<T, U> SaturatingInto<U> for Twhere
U: SaturatingFrom<T>,
fn saturating_into(self) -> U
Source§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.