pub enum Node {
Show 82 variants
Argument(Argument),
ArgumentList(ArgumentList),
ArgumentListDeclaration(ArgumentListDeclaration),
ArgumentDeclaration(ArgumentDeclaration),
ArithExpr(ArithExpr),
UnaryOperation(UnaryOperation),
UnaryPostfixOperation(UnaryPostfixOperation),
BinaryOperation(BinaryOperation),
AvailabilityFlag(AvailabilityFlag),
AvailabilityFlagEnd(AvailabilityFlagEnd),
CodeComment(CodeComment),
DocComment(DocComment),
Config(Config),
Keyword(Keyword),
ConfigDeclaration(ConfigDeclaration),
ConstantDeclaration(ConstantDeclaration),
DataSet(DataSet),
DataSetGroup(DataSetGroup),
DataSetRecord(DataSetRecord),
Decorator(Decorator),
DecoratorDeclaration(DecoratorDeclaration),
DecoratorDeclarationVariant(DecoratorDeclarationVariant),
Enum(Enum),
EnumMember(EnumMember),
Expression(Expression),
NamedExpression(NamedExpression),
BracketExpression(BracketExpression),
Group(Group),
NumericLiteral(NumericLiteral),
StringLiteral(StringLiteral),
RegexLiteral(RegexLiteral),
BoolLiteral(BoolLiteral),
NullLiteral(NullLiteral),
EnumVariantLiteral(EnumVariantLiteral),
TupleLiteral(TupleLiteral),
ArrayLiteral(ArrayLiteral),
DictionaryLiteral(DictionaryLiteral),
Identifier(Identifier),
Subscript(Subscript),
IntSubscript(IntSubscript),
Unit(Unit),
Pipeline(Pipeline),
EmptyPipeline(EmptyPipeline),
Field(Field),
FunctionDeclaration(FunctionDeclaration),
GenericsDeclaration(GenericsDeclaration),
GenericsConstraint(GenericsConstraint),
GenericsConstraintItem(GenericsConstraintItem),
HandlerGroupDeclaration(HandlerGroupDeclaration),
HandlerDeclaration(HandlerDeclaration),
IdentifierPath(IdentifierPath),
Import(Import),
InterfaceDeclaration(InterfaceDeclaration),
MiddlewareDeclaration(MiddlewareDeclaration),
Model(Model),
Namespace(Namespace),
PipelineItemDeclaration(PipelineItemDeclaration),
PipelineItemDeclarationVariant(PipelineItemDeclarationVariant),
StructDeclaration(StructDeclaration),
TypeExpr(TypeExpr),
TypeBinaryOperation(TypeBinaryOperation),
TypeGroup(TypeGroup),
TypeTuple(TypeTuple),
TypeSubscript(TypeSubscript),
TypeItem(TypeItem),
TypeGenerics(TypeGenerics),
UseMiddlewaresBlock(UseMiddlewaresBlock),
Punctuation(Punctuation),
Operator(Operator),
EmptyDot(EmptyDot),
PartialField(PartialField),
PartialArgumentDeclaration(PartialArgumentDeclaration),
PartialArgument(PartialArgument),
EmptyDecorator(EmptyDecorator),
TypedEnum(TypedEnum),
TypedShape(TypedShape),
TypedShapeItem(TypedShapeItem),
SynthesizedShapeDeclaration(SynthesizedShapeDeclaration),
SynthesizedShapeFieldDeclaration(SynthesizedShapeFieldDeclaration),
HandlerTemplateDeclaration(HandlerTemplateDeclaration),
IncludeHandlerFromTemplate(IncludeHandlerFromTemplate),
TypeAsValueExpression(TypeAsValueExpression),
}Variants§
Argument(Argument)
ArgumentList(ArgumentList)
ArgumentListDeclaration(ArgumentListDeclaration)
ArgumentDeclaration(ArgumentDeclaration)
ArithExpr(ArithExpr)
UnaryOperation(UnaryOperation)
UnaryPostfixOperation(UnaryPostfixOperation)
BinaryOperation(BinaryOperation)
AvailabilityFlag(AvailabilityFlag)
AvailabilityFlagEnd(AvailabilityFlagEnd)
CodeComment(CodeComment)
DocComment(DocComment)
Config(Config)
Keyword(Keyword)
ConfigDeclaration(ConfigDeclaration)
ConstantDeclaration(ConstantDeclaration)
DataSet(DataSet)
DataSetGroup(DataSetGroup)
DataSetRecord(DataSetRecord)
Decorator(Decorator)
DecoratorDeclaration(DecoratorDeclaration)
DecoratorDeclarationVariant(DecoratorDeclarationVariant)
Enum(Enum)
EnumMember(EnumMember)
Expression(Expression)
NamedExpression(NamedExpression)
BracketExpression(BracketExpression)
Group(Group)
NumericLiteral(NumericLiteral)
StringLiteral(StringLiteral)
RegexLiteral(RegexLiteral)
BoolLiteral(BoolLiteral)
NullLiteral(NullLiteral)
EnumVariantLiteral(EnumVariantLiteral)
TupleLiteral(TupleLiteral)
ArrayLiteral(ArrayLiteral)
DictionaryLiteral(DictionaryLiteral)
Identifier(Identifier)
Subscript(Subscript)
IntSubscript(IntSubscript)
Unit(Unit)
Pipeline(Pipeline)
EmptyPipeline(EmptyPipeline)
Field(Field)
FunctionDeclaration(FunctionDeclaration)
GenericsDeclaration(GenericsDeclaration)
GenericsConstraint(GenericsConstraint)
GenericsConstraintItem(GenericsConstraintItem)
HandlerGroupDeclaration(HandlerGroupDeclaration)
HandlerDeclaration(HandlerDeclaration)
IdentifierPath(IdentifierPath)
Import(Import)
InterfaceDeclaration(InterfaceDeclaration)
MiddlewareDeclaration(MiddlewareDeclaration)
Model(Model)
Namespace(Namespace)
PipelineItemDeclaration(PipelineItemDeclaration)
PipelineItemDeclarationVariant(PipelineItemDeclarationVariant)
StructDeclaration(StructDeclaration)
TypeExpr(TypeExpr)
TypeBinaryOperation(TypeBinaryOperation)
TypeGroup(TypeGroup)
TypeTuple(TypeTuple)
TypeSubscript(TypeSubscript)
TypeItem(TypeItem)
TypeGenerics(TypeGenerics)
UseMiddlewaresBlock(UseMiddlewaresBlock)
Punctuation(Punctuation)
Operator(Operator)
EmptyDot(EmptyDot)
PartialField(PartialField)
PartialArgumentDeclaration(PartialArgumentDeclaration)
PartialArgument(PartialArgument)
EmptyDecorator(EmptyDecorator)
TypedEnum(TypedEnum)
TypedShape(TypedShape)
TypedShapeItem(TypedShapeItem)
SynthesizedShapeDeclaration(SynthesizedShapeDeclaration)
SynthesizedShapeFieldDeclaration(SynthesizedShapeFieldDeclaration)
HandlerTemplateDeclaration(HandlerTemplateDeclaration)
IncludeHandlerFromTemplate(IncludeHandlerFromTemplate)
TypeAsValueExpression(TypeAsValueExpression)
Implementations§
Source§impl Node
impl Node
pub fn is_argument(&self) -> bool
pub fn as_argument(&self) -> Option<&Argument>
pub fn is_argument_list(&self) -> bool
pub fn as_argument_list(&self) -> Option<&ArgumentList>
pub fn is_argument_list_declaration(&self) -> bool
pub fn as_argument_list_declaration(&self) -> Option<&ArgumentListDeclaration>
pub fn is_argument_declaration(&self) -> bool
pub fn as_argument_declaration(&self) -> Option<&ArgumentDeclaration>
pub fn is_arith_expr(&self) -> bool
pub fn as_arith_expr(&self) -> Option<&ArithExpr>
pub fn is_unary_operation(&self) -> bool
pub fn as_unary_operation(&self) -> Option<&UnaryOperation>
pub fn is_unary_postfix_operation(&self) -> bool
pub fn as_unary_postfix_operation(&self) -> Option<&UnaryPostfixOperation>
pub fn is_binary_operation(&self) -> bool
pub fn as_binary_operation(&self) -> Option<&BinaryOperation>
pub fn is_availability_flag(&self) -> bool
pub fn as_availability_flag(&self) -> Option<&AvailabilityFlag>
pub fn is_availability_flag_end(&self) -> bool
pub fn as_availability_flag_end(&self) -> Option<&AvailabilityFlagEnd>
pub fn is_code_comment(&self) -> bool
pub fn as_code_comment(&self) -> Option<&CodeComment>
pub fn is_doc_comment(&self) -> bool
pub fn as_doc_comment(&self) -> Option<&DocComment>
pub fn is_config(&self) -> bool
pub fn as_config(&self) -> Option<&Config>
pub fn is_keyword(&self) -> bool
pub fn as_keyword(&self) -> Option<&Keyword>
pub fn is_config_declaration(&self) -> bool
pub fn as_config_declaration(&self) -> Option<&ConfigDeclaration>
pub fn is_constant_declaration(&self) -> bool
pub fn as_constant_declaration(&self) -> Option<&ConstantDeclaration>
pub fn is_data_set(&self) -> bool
pub fn as_data_set(&self) -> Option<&DataSet>
pub fn is_data_set_group(&self) -> bool
pub fn as_data_set_group(&self) -> Option<&DataSetGroup>
pub fn is_data_set_record(&self) -> bool
pub fn as_data_set_record(&self) -> Option<&DataSetRecord>
pub fn is_decorator(&self) -> bool
pub fn as_decorator(&self) -> Option<&Decorator>
pub fn is_decorator_declaration(&self) -> bool
pub fn as_decorator_declaration(&self) -> Option<&DecoratorDeclaration>
pub fn is_decorator_declaration_variant(&self) -> bool
pub fn as_decorator_declaration_variant( &self, ) -> Option<&DecoratorDeclarationVariant>
pub fn is_enum(&self) -> bool
pub fn as_enum(&self) -> Option<&Enum>
pub fn is_enum_member(&self) -> bool
pub fn as_enum_member(&self) -> Option<&EnumMember>
pub fn is_expression(&self) -> bool
pub fn as_expression(&self) -> Option<&Expression>
pub fn is_named_expression(&self) -> bool
pub fn as_named_expression(&self) -> Option<&NamedExpression>
pub fn is_bracket_expression(&self) -> bool
pub fn as_bracket_expression(&self) -> Option<&BracketExpression>
pub fn is_group(&self) -> bool
pub fn as_group(&self) -> Option<&Group>
pub fn is_numeric_literal(&self) -> bool
pub fn as_numeric_literal(&self) -> Option<&NumericLiteral>
pub fn is_string_literal(&self) -> bool
pub fn as_string_literal(&self) -> Option<&StringLiteral>
pub fn is_regex_literal(&self) -> bool
pub fn as_regex_literal(&self) -> Option<&RegexLiteral>
pub fn is_bool_literal(&self) -> bool
pub fn as_bool_literal(&self) -> Option<&BoolLiteral>
pub fn is_null_literal(&self) -> bool
pub fn as_null_literal(&self) -> Option<&NullLiteral>
pub fn is_enum_variant_literal(&self) -> bool
pub fn as_enum_variant_literal(&self) -> Option<&EnumVariantLiteral>
pub fn is_tuple_literal(&self) -> bool
pub fn as_tuple_literal(&self) -> Option<&TupleLiteral>
pub fn is_array_literal(&self) -> bool
pub fn as_array_literal(&self) -> Option<&ArrayLiteral>
pub fn is_dictionary_literal(&self) -> bool
pub fn as_dictionary_literal(&self) -> Option<&DictionaryLiteral>
pub fn is_identifier(&self) -> bool
pub fn as_identifier(&self) -> Option<&Identifier>
pub fn is_subscript(&self) -> bool
pub fn as_subscript(&self) -> Option<&Subscript>
pub fn is_int_subscript(&self) -> bool
pub fn as_int_subscript(&self) -> Option<&IntSubscript>
pub fn is_unit(&self) -> bool
pub fn as_unit(&self) -> Option<&Unit>
pub fn is_pipeline(&self) -> bool
pub fn as_pipeline(&self) -> Option<&Pipeline>
pub fn is_empty_pipeline(&self) -> bool
pub fn as_empty_pipeline(&self) -> Option<&EmptyPipeline>
pub fn is_field(&self) -> bool
pub fn as_field(&self) -> Option<&Field>
pub fn is_function_declaration(&self) -> bool
pub fn as_function_declaration(&self) -> Option<&FunctionDeclaration>
pub fn is_generics_declaration(&self) -> bool
pub fn as_generics_declaration(&self) -> Option<&GenericsDeclaration>
pub fn is_generics_constraint(&self) -> bool
pub fn as_generics_constraint(&self) -> Option<&GenericsConstraint>
pub fn is_generics_constraint_item(&self) -> bool
pub fn as_generics_constraint_item(&self) -> Option<&GenericsConstraintItem>
pub fn is_handler_group_declaration(&self) -> bool
pub fn as_handler_group_declaration(&self) -> Option<&HandlerGroupDeclaration>
pub fn is_handler_declaration(&self) -> bool
pub fn as_handler_declaration(&self) -> Option<&HandlerDeclaration>
pub fn is_identifier_path(&self) -> bool
pub fn as_identifier_path(&self) -> Option<&IdentifierPath>
pub fn is_import(&self) -> bool
pub fn as_import(&self) -> Option<&Import>
pub fn is_interface_declaration(&self) -> bool
pub fn as_interface_declaration(&self) -> Option<&InterfaceDeclaration>
pub fn is_middleware_declaration(&self) -> bool
pub fn as_middleware_declaration(&self) -> Option<&MiddlewareDeclaration>
pub fn is_model(&self) -> bool
pub fn as_model(&self) -> Option<&Model>
pub fn is_namespace(&self) -> bool
pub fn as_namespace(&self) -> Option<&Namespace>
pub fn is_pipeline_item_declaration(&self) -> bool
pub fn as_pipeline_item_declaration(&self) -> Option<&PipelineItemDeclaration>
pub fn is_pipeline_item_declaration_variant(&self) -> bool
pub fn as_pipeline_item_declaration_variant( &self, ) -> Option<&PipelineItemDeclarationVariant>
pub fn is_struct_declaration(&self) -> bool
pub fn as_struct_declaration(&self) -> Option<&StructDeclaration>
pub fn is_type_expr(&self) -> bool
pub fn as_type_expr(&self) -> Option<&TypeExpr>
pub fn is_type_binary_operation(&self) -> bool
pub fn as_type_binary_operation(&self) -> Option<&TypeBinaryOperation>
pub fn is_type_group(&self) -> bool
pub fn as_type_group(&self) -> Option<&TypeGroup>
pub fn is_type_tuple(&self) -> bool
pub fn as_type_tuple(&self) -> Option<&TypeTuple>
pub fn is_type_subscript(&self) -> bool
pub fn as_type_subscript(&self) -> Option<&TypeSubscript>
pub fn is_type_item(&self) -> bool
pub fn as_type_item(&self) -> Option<&TypeItem>
pub fn is_type_generics(&self) -> bool
pub fn as_type_generics(&self) -> Option<&TypeGenerics>
pub fn is_use_middlewares_block(&self) -> bool
pub fn as_use_middlewares_block(&self) -> Option<&UseMiddlewaresBlock>
pub fn is_punctuation(&self) -> bool
pub fn as_punctuation(&self) -> Option<&Punctuation>
pub fn is_operator(&self) -> bool
pub fn as_operator(&self) -> Option<&Operator>
pub fn is_empty_dot(&self) -> bool
pub fn as_empty_dot(&self) -> Option<&EmptyDot>
pub fn is_partial_field(&self) -> bool
pub fn as_partial_field(&self) -> Option<&PartialField>
pub fn is_partial_argument_declaration(&self) -> bool
pub fn as_partial_argument_declaration( &self, ) -> Option<&PartialArgumentDeclaration>
pub fn is_partial_argument(&self) -> bool
pub fn as_partial_argument(&self) -> Option<&PartialArgument>
pub fn is_empty_decorator(&self) -> bool
pub fn as_empty_decorator(&self) -> Option<&EmptyDecorator>
pub fn is_typed_enum(&self) -> bool
pub fn as_typed_enum(&self) -> Option<&TypedEnum>
pub fn is_typed_shape(&self) -> bool
pub fn as_typed_shape(&self) -> Option<&TypedShape>
pub fn is_typed_shape_item(&self) -> bool
pub fn as_typed_shape_item(&self) -> Option<&TypedShapeItem>
pub fn is_synthesized_shape_declaration(&self) -> bool
pub fn as_synthesized_shape_declaration( &self, ) -> Option<&SynthesizedShapeDeclaration>
pub fn is_synthesized_shape_field_declaration(&self) -> bool
pub fn as_synthesized_shape_field_declaration( &self, ) -> Option<&SynthesizedShapeFieldDeclaration>
pub fn is_handler_template_declaration(&self) -> bool
pub fn as_handler_template_declaration( &self, ) -> Option<&HandlerTemplateDeclaration>
pub fn is_include_handler_from_template(&self) -> bool
pub fn as_include_handler_from_template( &self, ) -> Option<&IncludeHandlerFromTemplate>
pub fn is_type_as_value_expression(&self) -> bool
pub fn as_type_as_value_expression(&self) -> Option<&TypeAsValueExpression>
pub fn as_dyn_node_trait(&self) -> &dyn NodeTrait
pub fn identifier_span(&self) -> Option<Span>
pub fn available_test(&self, availability: Availability) -> bool
pub fn string_path(&self) -> Option<&Vec<String>>
pub fn str_path(&self) -> Option<Vec<&str>>
pub fn name(&self) -> Option<&str>
Trait Implementations§
Source§impl From<ArgumentDeclaration> for Node
impl From<ArgumentDeclaration> for Node
Source§fn from(value: ArgumentDeclaration) -> Self
fn from(value: ArgumentDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<ArgumentList> for Node
impl From<ArgumentList> for Node
Source§fn from(value: ArgumentList) -> Self
fn from(value: ArgumentList) -> Self
Converts to this type from the input type.
Source§impl From<ArgumentListDeclaration> for Node
impl From<ArgumentListDeclaration> for Node
Source§fn from(value: ArgumentListDeclaration) -> Self
fn from(value: ArgumentListDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<ArrayLiteral> for Node
impl From<ArrayLiteral> for Node
Source§fn from(value: ArrayLiteral) -> Self
fn from(value: ArrayLiteral) -> Self
Converts to this type from the input type.
Source§impl From<AvailabilityFlag> for Node
impl From<AvailabilityFlag> for Node
Source§fn from(value: AvailabilityFlag) -> Self
fn from(value: AvailabilityFlag) -> Self
Converts to this type from the input type.
Source§impl From<AvailabilityFlagEnd> for Node
impl From<AvailabilityFlagEnd> for Node
Source§fn from(value: AvailabilityFlagEnd) -> Self
fn from(value: AvailabilityFlagEnd) -> Self
Converts to this type from the input type.
Source§impl From<BinaryOperation> for Node
impl From<BinaryOperation> for Node
Source§fn from(value: BinaryOperation) -> Self
fn from(value: BinaryOperation) -> Self
Converts to this type from the input type.
Source§impl From<BoolLiteral> for Node
impl From<BoolLiteral> for Node
Source§fn from(value: BoolLiteral) -> Self
fn from(value: BoolLiteral) -> Self
Converts to this type from the input type.
Source§impl From<BracketExpression> for Node
impl From<BracketExpression> for Node
Source§fn from(value: BracketExpression) -> Self
fn from(value: BracketExpression) -> Self
Converts to this type from the input type.
Source§impl From<CodeComment> for Node
impl From<CodeComment> for Node
Source§fn from(value: CodeComment) -> Self
fn from(value: CodeComment) -> Self
Converts to this type from the input type.
Source§impl From<ConfigDeclaration> for Node
impl From<ConfigDeclaration> for Node
Source§fn from(value: ConfigDeclaration) -> Self
fn from(value: ConfigDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<ConstantDeclaration> for Node
impl From<ConstantDeclaration> for Node
Source§fn from(value: ConstantDeclaration) -> Self
fn from(value: ConstantDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<DataSetGroup> for Node
impl From<DataSetGroup> for Node
Source§fn from(value: DataSetGroup) -> Self
fn from(value: DataSetGroup) -> Self
Converts to this type from the input type.
Source§impl From<DataSetRecord> for Node
impl From<DataSetRecord> for Node
Source§fn from(value: DataSetRecord) -> Self
fn from(value: DataSetRecord) -> Self
Converts to this type from the input type.
Source§impl From<DecoratorDeclaration> for Node
impl From<DecoratorDeclaration> for Node
Source§fn from(value: DecoratorDeclaration) -> Self
fn from(value: DecoratorDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<DecoratorDeclarationVariant> for Node
impl From<DecoratorDeclarationVariant> for Node
Source§fn from(value: DecoratorDeclarationVariant) -> Self
fn from(value: DecoratorDeclarationVariant) -> Self
Converts to this type from the input type.
Source§impl From<DictionaryLiteral> for Node
impl From<DictionaryLiteral> for Node
Source§fn from(value: DictionaryLiteral) -> Self
fn from(value: DictionaryLiteral) -> Self
Converts to this type from the input type.
Source§impl From<DocComment> for Node
impl From<DocComment> for Node
Source§fn from(value: DocComment) -> Self
fn from(value: DocComment) -> Self
Converts to this type from the input type.
Source§impl From<EmptyDecorator> for Node
impl From<EmptyDecorator> for Node
Source§fn from(value: EmptyDecorator) -> Self
fn from(value: EmptyDecorator) -> Self
Converts to this type from the input type.
Source§impl From<EmptyPipeline> for Node
impl From<EmptyPipeline> for Node
Source§fn from(value: EmptyPipeline) -> Self
fn from(value: EmptyPipeline) -> Self
Converts to this type from the input type.
Source§impl From<EnumMember> for Node
impl From<EnumMember> for Node
Source§fn from(value: EnumMember) -> Self
fn from(value: EnumMember) -> Self
Converts to this type from the input type.
Source§impl From<EnumVariantLiteral> for Node
impl From<EnumVariantLiteral> for Node
Source§fn from(value: EnumVariantLiteral) -> Self
fn from(value: EnumVariantLiteral) -> Self
Converts to this type from the input type.
Source§impl From<Expression> for Node
impl From<Expression> for Node
Source§fn from(value: Expression) -> Self
fn from(value: Expression) -> Self
Converts to this type from the input type.
Source§impl From<FunctionDeclaration> for Node
impl From<FunctionDeclaration> for Node
Source§fn from(value: FunctionDeclaration) -> Self
fn from(value: FunctionDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<GenericsConstraint> for Node
impl From<GenericsConstraint> for Node
Source§fn from(value: GenericsConstraint) -> Self
fn from(value: GenericsConstraint) -> Self
Converts to this type from the input type.
Source§impl From<GenericsConstraintItem> for Node
impl From<GenericsConstraintItem> for Node
Source§fn from(value: GenericsConstraintItem) -> Self
fn from(value: GenericsConstraintItem) -> Self
Converts to this type from the input type.
Source§impl From<GenericsDeclaration> for Node
impl From<GenericsDeclaration> for Node
Source§fn from(value: GenericsDeclaration) -> Self
fn from(value: GenericsDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<HandlerDeclaration> for Node
impl From<HandlerDeclaration> for Node
Source§fn from(value: HandlerDeclaration) -> Self
fn from(value: HandlerDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<HandlerGroupDeclaration> for Node
impl From<HandlerGroupDeclaration> for Node
Source§fn from(value: HandlerGroupDeclaration) -> Self
fn from(value: HandlerGroupDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<HandlerTemplateDeclaration> for Node
impl From<HandlerTemplateDeclaration> for Node
Source§fn from(value: HandlerTemplateDeclaration) -> Self
fn from(value: HandlerTemplateDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for Node
impl From<Identifier> for Node
Source§fn from(value: Identifier) -> Self
fn from(value: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<IdentifierPath> for Node
impl From<IdentifierPath> for Node
Source§fn from(value: IdentifierPath) -> Self
fn from(value: IdentifierPath) -> Self
Converts to this type from the input type.
Source§impl From<IncludeHandlerFromTemplate> for Node
impl From<IncludeHandlerFromTemplate> for Node
Source§fn from(value: IncludeHandlerFromTemplate) -> Self
fn from(value: IncludeHandlerFromTemplate) -> Self
Converts to this type from the input type.
Source§impl From<IntSubscript> for Node
impl From<IntSubscript> for Node
Source§fn from(value: IntSubscript) -> Self
fn from(value: IntSubscript) -> Self
Converts to this type from the input type.
Source§impl From<InterfaceDeclaration> for Node
impl From<InterfaceDeclaration> for Node
Source§fn from(value: InterfaceDeclaration) -> Self
fn from(value: InterfaceDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<MiddlewareDeclaration> for Node
impl From<MiddlewareDeclaration> for Node
Source§fn from(value: MiddlewareDeclaration) -> Self
fn from(value: MiddlewareDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<NamedExpression> for Node
impl From<NamedExpression> for Node
Source§fn from(value: NamedExpression) -> Self
fn from(value: NamedExpression) -> Self
Converts to this type from the input type.
Source§impl From<NullLiteral> for Node
impl From<NullLiteral> for Node
Source§fn from(value: NullLiteral) -> Self
fn from(value: NullLiteral) -> Self
Converts to this type from the input type.
Source§impl From<NumericLiteral> for Node
impl From<NumericLiteral> for Node
Source§fn from(value: NumericLiteral) -> Self
fn from(value: NumericLiteral) -> Self
Converts to this type from the input type.
Source§impl From<PartialArgument> for Node
impl From<PartialArgument> for Node
Source§fn from(value: PartialArgument) -> Self
fn from(value: PartialArgument) -> Self
Converts to this type from the input type.
Source§impl From<PartialArgumentDeclaration> for Node
impl From<PartialArgumentDeclaration> for Node
Source§fn from(value: PartialArgumentDeclaration) -> Self
fn from(value: PartialArgumentDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<PartialField> for Node
impl From<PartialField> for Node
Source§fn from(value: PartialField) -> Self
fn from(value: PartialField) -> Self
Converts to this type from the input type.
Source§impl From<PipelineItemDeclaration> for Node
impl From<PipelineItemDeclaration> for Node
Source§fn from(value: PipelineItemDeclaration) -> Self
fn from(value: PipelineItemDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<PipelineItemDeclarationVariant> for Node
impl From<PipelineItemDeclarationVariant> for Node
Source§fn from(value: PipelineItemDeclarationVariant) -> Self
fn from(value: PipelineItemDeclarationVariant) -> Self
Converts to this type from the input type.
Source§impl From<Punctuation> for Node
impl From<Punctuation> for Node
Source§fn from(value: Punctuation) -> Self
fn from(value: Punctuation) -> Self
Converts to this type from the input type.
Source§impl From<RegexLiteral> for Node
impl From<RegexLiteral> for Node
Source§fn from(value: RegexLiteral) -> Self
fn from(value: RegexLiteral) -> Self
Converts to this type from the input type.
Source§impl From<StringLiteral> for Node
impl From<StringLiteral> for Node
Source§fn from(value: StringLiteral) -> Self
fn from(value: StringLiteral) -> Self
Converts to this type from the input type.
Source§impl From<StructDeclaration> for Node
impl From<StructDeclaration> for Node
Source§fn from(value: StructDeclaration) -> Self
fn from(value: StructDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<SynthesizedShapeDeclaration> for Node
impl From<SynthesizedShapeDeclaration> for Node
Source§fn from(value: SynthesizedShapeDeclaration) -> Self
fn from(value: SynthesizedShapeDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<SynthesizedShapeFieldDeclaration> for Node
impl From<SynthesizedShapeFieldDeclaration> for Node
Source§fn from(value: SynthesizedShapeFieldDeclaration) -> Self
fn from(value: SynthesizedShapeFieldDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<TupleLiteral> for Node
impl From<TupleLiteral> for Node
Source§fn from(value: TupleLiteral) -> Self
fn from(value: TupleLiteral) -> Self
Converts to this type from the input type.
Source§impl From<TypeAsValueExpression> for Node
impl From<TypeAsValueExpression> for Node
Source§fn from(value: TypeAsValueExpression) -> Self
fn from(value: TypeAsValueExpression) -> Self
Converts to this type from the input type.
Source§impl From<TypeBinaryOperation> for Node
impl From<TypeBinaryOperation> for Node
Source§fn from(value: TypeBinaryOperation) -> Self
fn from(value: TypeBinaryOperation) -> Self
Converts to this type from the input type.
Source§impl From<TypeGenerics> for Node
impl From<TypeGenerics> for Node
Source§fn from(value: TypeGenerics) -> Self
fn from(value: TypeGenerics) -> Self
Converts to this type from the input type.
Source§impl From<TypeSubscript> for Node
impl From<TypeSubscript> for Node
Source§fn from(value: TypeSubscript) -> Self
fn from(value: TypeSubscript) -> Self
Converts to this type from the input type.
Source§impl From<TypedShape> for Node
impl From<TypedShape> for Node
Source§fn from(value: TypedShape) -> Self
fn from(value: TypedShape) -> Self
Converts to this type from the input type.
Source§impl From<TypedShapeItem> for Node
impl From<TypedShapeItem> for Node
Source§fn from(value: TypedShapeItem) -> Self
fn from(value: TypedShapeItem) -> Self
Converts to this type from the input type.
Source§impl From<UnaryOperation> for Node
impl From<UnaryOperation> for Node
Source§fn from(value: UnaryOperation) -> Self
fn from(value: UnaryOperation) -> Self
Converts to this type from the input type.
Source§impl From<UnaryPostfixOperation> for Node
impl From<UnaryPostfixOperation> for Node
Source§fn from(value: UnaryPostfixOperation) -> Self
fn from(value: UnaryPostfixOperation) -> Self
Converts to this type from the input type.
Source§impl From<UseMiddlewaresBlock> for Node
impl From<UseMiddlewaresBlock> for Node
Source§fn from(value: UseMiddlewaresBlock) -> Self
fn from(value: UseMiddlewaresBlock) -> Self
Converts to this type from the input type.
Source§impl Identifiable for Node
impl Identifiable for Node
Source§impl<'a> TryFrom<&'a Node> for &'a ArgumentDeclaration
impl<'a> TryFrom<&'a Node> for &'a ArgumentDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a ArgumentList
impl<'a> TryFrom<&'a Node> for &'a ArgumentList
Source§impl<'a> TryFrom<&'a Node> for &'a ArgumentListDeclaration
impl<'a> TryFrom<&'a Node> for &'a ArgumentListDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a ArrayLiteral
impl<'a> TryFrom<&'a Node> for &'a ArrayLiteral
Source§impl<'a> TryFrom<&'a Node> for &'a AvailabilityFlag
impl<'a> TryFrom<&'a Node> for &'a AvailabilityFlag
Source§impl<'a> TryFrom<&'a Node> for &'a AvailabilityFlagEnd
impl<'a> TryFrom<&'a Node> for &'a AvailabilityFlagEnd
Source§impl<'a> TryFrom<&'a Node> for &'a BinaryOperation
impl<'a> TryFrom<&'a Node> for &'a BinaryOperation
Source§impl<'a> TryFrom<&'a Node> for &'a BoolLiteral
impl<'a> TryFrom<&'a Node> for &'a BoolLiteral
Source§impl<'a> TryFrom<&'a Node> for &'a BracketExpression
impl<'a> TryFrom<&'a Node> for &'a BracketExpression
Source§impl<'a> TryFrom<&'a Node> for &'a CodeComment
impl<'a> TryFrom<&'a Node> for &'a CodeComment
Source§impl<'a> TryFrom<&'a Node> for &'a ConfigDeclaration
impl<'a> TryFrom<&'a Node> for &'a ConfigDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a ConstantDeclaration
impl<'a> TryFrom<&'a Node> for &'a ConstantDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a DataSetGroup
impl<'a> TryFrom<&'a Node> for &'a DataSetGroup
Source§impl<'a> TryFrom<&'a Node> for &'a DataSetRecord
impl<'a> TryFrom<&'a Node> for &'a DataSetRecord
Source§impl<'a> TryFrom<&'a Node> for &'a DecoratorDeclaration
impl<'a> TryFrom<&'a Node> for &'a DecoratorDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a DecoratorDeclarationVariant
impl<'a> TryFrom<&'a Node> for &'a DecoratorDeclarationVariant
Source§impl<'a> TryFrom<&'a Node> for &'a DictionaryLiteral
impl<'a> TryFrom<&'a Node> for &'a DictionaryLiteral
Source§impl<'a> TryFrom<&'a Node> for &'a DocComment
impl<'a> TryFrom<&'a Node> for &'a DocComment
Source§impl<'a> TryFrom<&'a Node> for &'a EmptyDecorator
impl<'a> TryFrom<&'a Node> for &'a EmptyDecorator
Source§impl<'a> TryFrom<&'a Node> for &'a EmptyPipeline
impl<'a> TryFrom<&'a Node> for &'a EmptyPipeline
Source§impl<'a> TryFrom<&'a Node> for &'a EnumMember
impl<'a> TryFrom<&'a Node> for &'a EnumMember
Source§impl<'a> TryFrom<&'a Node> for &'a EnumVariantLiteral
impl<'a> TryFrom<&'a Node> for &'a EnumVariantLiteral
Source§impl<'a> TryFrom<&'a Node> for &'a Expression
impl<'a> TryFrom<&'a Node> for &'a Expression
Source§impl<'a> TryFrom<&'a Node> for &'a FunctionDeclaration
impl<'a> TryFrom<&'a Node> for &'a FunctionDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a GenericsConstraint
impl<'a> TryFrom<&'a Node> for &'a GenericsConstraint
Source§impl<'a> TryFrom<&'a Node> for &'a GenericsConstraintItem
impl<'a> TryFrom<&'a Node> for &'a GenericsConstraintItem
Source§impl<'a> TryFrom<&'a Node> for &'a GenericsDeclaration
impl<'a> TryFrom<&'a Node> for &'a GenericsDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a HandlerDeclaration
impl<'a> TryFrom<&'a Node> for &'a HandlerDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a HandlerGroupDeclaration
impl<'a> TryFrom<&'a Node> for &'a HandlerGroupDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a HandlerTemplateDeclaration
impl<'a> TryFrom<&'a Node> for &'a HandlerTemplateDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a Identifier
impl<'a> TryFrom<&'a Node> for &'a Identifier
Source§impl<'a> TryFrom<&'a Node> for &'a IdentifierPath
impl<'a> TryFrom<&'a Node> for &'a IdentifierPath
Source§impl<'a> TryFrom<&'a Node> for &'a IncludeHandlerFromTemplate
impl<'a> TryFrom<&'a Node> for &'a IncludeHandlerFromTemplate
Source§impl<'a> TryFrom<&'a Node> for &'a IntSubscript
impl<'a> TryFrom<&'a Node> for &'a IntSubscript
Source§impl<'a> TryFrom<&'a Node> for &'a InterfaceDeclaration
impl<'a> TryFrom<&'a Node> for &'a InterfaceDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a MiddlewareDeclaration
impl<'a> TryFrom<&'a Node> for &'a MiddlewareDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a NamedExpression
impl<'a> TryFrom<&'a Node> for &'a NamedExpression
Source§impl<'a> TryFrom<&'a Node> for &'a NullLiteral
impl<'a> TryFrom<&'a Node> for &'a NullLiteral
Source§impl<'a> TryFrom<&'a Node> for &'a NumericLiteral
impl<'a> TryFrom<&'a Node> for &'a NumericLiteral
Source§impl<'a> TryFrom<&'a Node> for &'a PartialArgument
impl<'a> TryFrom<&'a Node> for &'a PartialArgument
Source§impl<'a> TryFrom<&'a Node> for &'a PartialArgumentDeclaration
impl<'a> TryFrom<&'a Node> for &'a PartialArgumentDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a PartialField
impl<'a> TryFrom<&'a Node> for &'a PartialField
Source§impl<'a> TryFrom<&'a Node> for &'a PipelineItemDeclaration
impl<'a> TryFrom<&'a Node> for &'a PipelineItemDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a PipelineItemDeclarationVariant
impl<'a> TryFrom<&'a Node> for &'a PipelineItemDeclarationVariant
Source§impl<'a> TryFrom<&'a Node> for &'a Punctuation
impl<'a> TryFrom<&'a Node> for &'a Punctuation
Source§impl<'a> TryFrom<&'a Node> for &'a RegexLiteral
impl<'a> TryFrom<&'a Node> for &'a RegexLiteral
Source§impl<'a> TryFrom<&'a Node> for &'a StringLiteral
impl<'a> TryFrom<&'a Node> for &'a StringLiteral
Source§impl<'a> TryFrom<&'a Node> for &'a StructDeclaration
impl<'a> TryFrom<&'a Node> for &'a StructDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a SynthesizedShapeDeclaration
impl<'a> TryFrom<&'a Node> for &'a SynthesizedShapeDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a SynthesizedShapeFieldDeclaration
impl<'a> TryFrom<&'a Node> for &'a SynthesizedShapeFieldDeclaration
Source§impl<'a> TryFrom<&'a Node> for &'a TupleLiteral
impl<'a> TryFrom<&'a Node> for &'a TupleLiteral
Source§impl<'a> TryFrom<&'a Node> for &'a TypeAsValueExpression
impl<'a> TryFrom<&'a Node> for &'a TypeAsValueExpression
Source§impl<'a> TryFrom<&'a Node> for &'a TypeBinaryOperation
impl<'a> TryFrom<&'a Node> for &'a TypeBinaryOperation
Source§impl<'a> TryFrom<&'a Node> for &'a TypeGenerics
impl<'a> TryFrom<&'a Node> for &'a TypeGenerics
Source§impl<'a> TryFrom<&'a Node> for &'a TypeSubscript
impl<'a> TryFrom<&'a Node> for &'a TypeSubscript
Source§impl<'a> TryFrom<&'a Node> for &'a TypedShape
impl<'a> TryFrom<&'a Node> for &'a TypedShape
Source§impl<'a> TryFrom<&'a Node> for &'a TypedShapeItem
impl<'a> TryFrom<&'a Node> for &'a TypedShapeItem
Source§impl<'a> TryFrom<&'a Node> for &'a UnaryOperation
impl<'a> TryFrom<&'a Node> for &'a UnaryOperation
Source§impl<'a> TryFrom<&'a Node> for &'a UnaryPostfixOperation
impl<'a> TryFrom<&'a Node> for &'a UnaryPostfixOperation
Source§impl<'a> TryFrom<&'a Node> for &'a UseMiddlewaresBlock
impl<'a> TryFrom<&'a Node> for &'a UseMiddlewaresBlock
Source§impl TryFrom<Node> for ArgumentDeclaration
impl TryFrom<Node> for ArgumentDeclaration
Source§impl TryFrom<Node> for ArgumentList
impl TryFrom<Node> for ArgumentList
Source§impl TryFrom<Node> for ArgumentListDeclaration
impl TryFrom<Node> for ArgumentListDeclaration
Source§impl TryFrom<Node> for ArrayLiteral
impl TryFrom<Node> for ArrayLiteral
Source§impl TryFrom<Node> for AvailabilityFlag
impl TryFrom<Node> for AvailabilityFlag
Source§impl TryFrom<Node> for AvailabilityFlagEnd
impl TryFrom<Node> for AvailabilityFlagEnd
Source§impl TryFrom<Node> for BinaryOperation
impl TryFrom<Node> for BinaryOperation
Source§impl TryFrom<Node> for BoolLiteral
impl TryFrom<Node> for BoolLiteral
Source§impl TryFrom<Node> for BracketExpression
impl TryFrom<Node> for BracketExpression
Source§impl TryFrom<Node> for CodeComment
impl TryFrom<Node> for CodeComment
Source§impl TryFrom<Node> for ConfigDeclaration
impl TryFrom<Node> for ConfigDeclaration
Source§impl TryFrom<Node> for ConstantDeclaration
impl TryFrom<Node> for ConstantDeclaration
Source§impl TryFrom<Node> for DataSetGroup
impl TryFrom<Node> for DataSetGroup
Source§impl TryFrom<Node> for DataSetRecord
impl TryFrom<Node> for DataSetRecord
Source§impl TryFrom<Node> for DecoratorDeclaration
impl TryFrom<Node> for DecoratorDeclaration
Source§impl TryFrom<Node> for DecoratorDeclarationVariant
impl TryFrom<Node> for DecoratorDeclarationVariant
Source§impl TryFrom<Node> for DictionaryLiteral
impl TryFrom<Node> for DictionaryLiteral
Source§impl TryFrom<Node> for DocComment
impl TryFrom<Node> for DocComment
Source§impl TryFrom<Node> for EmptyDecorator
impl TryFrom<Node> for EmptyDecorator
Source§impl TryFrom<Node> for EmptyPipeline
impl TryFrom<Node> for EmptyPipeline
Source§impl TryFrom<Node> for EnumMember
impl TryFrom<Node> for EnumMember
Source§impl TryFrom<Node> for EnumVariantLiteral
impl TryFrom<Node> for EnumVariantLiteral
Source§impl TryFrom<Node> for FunctionDeclaration
impl TryFrom<Node> for FunctionDeclaration
Source§impl TryFrom<Node> for GenericsConstraint
impl TryFrom<Node> for GenericsConstraint
Source§impl TryFrom<Node> for GenericsConstraintItem
impl TryFrom<Node> for GenericsConstraintItem
Source§impl TryFrom<Node> for GenericsDeclaration
impl TryFrom<Node> for GenericsDeclaration
Source§impl TryFrom<Node> for HandlerDeclaration
impl TryFrom<Node> for HandlerDeclaration
Source§impl TryFrom<Node> for HandlerGroupDeclaration
impl TryFrom<Node> for HandlerGroupDeclaration
Source§impl TryFrom<Node> for HandlerTemplateDeclaration
impl TryFrom<Node> for HandlerTemplateDeclaration
Source§impl TryFrom<Node> for Identifier
impl TryFrom<Node> for Identifier
Source§impl TryFrom<Node> for IdentifierPath
impl TryFrom<Node> for IdentifierPath
Source§impl TryFrom<Node> for IncludeHandlerFromTemplate
impl TryFrom<Node> for IncludeHandlerFromTemplate
Source§impl TryFrom<Node> for IntSubscript
impl TryFrom<Node> for IntSubscript
Source§impl TryFrom<Node> for InterfaceDeclaration
impl TryFrom<Node> for InterfaceDeclaration
Source§impl TryFrom<Node> for MiddlewareDeclaration
impl TryFrom<Node> for MiddlewareDeclaration
Source§impl TryFrom<Node> for NamedExpression
impl TryFrom<Node> for NamedExpression
Source§impl TryFrom<Node> for NullLiteral
impl TryFrom<Node> for NullLiteral
Source§impl TryFrom<Node> for NumericLiteral
impl TryFrom<Node> for NumericLiteral
Source§impl TryFrom<Node> for PartialArgument
impl TryFrom<Node> for PartialArgument
Source§impl TryFrom<Node> for PartialArgumentDeclaration
impl TryFrom<Node> for PartialArgumentDeclaration
Source§impl TryFrom<Node> for PartialField
impl TryFrom<Node> for PartialField
Source§impl TryFrom<Node> for PipelineItemDeclaration
impl TryFrom<Node> for PipelineItemDeclaration
Source§impl TryFrom<Node> for PipelineItemDeclarationVariant
impl TryFrom<Node> for PipelineItemDeclarationVariant
Source§impl TryFrom<Node> for Punctuation
impl TryFrom<Node> for Punctuation
Source§impl TryFrom<Node> for RegexLiteral
impl TryFrom<Node> for RegexLiteral
Source§impl TryFrom<Node> for StringLiteral
impl TryFrom<Node> for StringLiteral
Source§impl TryFrom<Node> for StructDeclaration
impl TryFrom<Node> for StructDeclaration
Source§impl TryFrom<Node> for SynthesizedShapeDeclaration
impl TryFrom<Node> for SynthesizedShapeDeclaration
Source§impl TryFrom<Node> for TupleLiteral
impl TryFrom<Node> for TupleLiteral
Source§impl TryFrom<Node> for TypeAsValueExpression
impl TryFrom<Node> for TypeAsValueExpression
Source§impl TryFrom<Node> for TypeBinaryOperation
impl TryFrom<Node> for TypeBinaryOperation
Source§impl TryFrom<Node> for TypeGenerics
impl TryFrom<Node> for TypeGenerics
Source§impl TryFrom<Node> for TypeSubscript
impl TryFrom<Node> for TypeSubscript
Source§impl TryFrom<Node> for TypedShape
impl TryFrom<Node> for TypedShape
Source§impl TryFrom<Node> for TypedShapeItem
impl TryFrom<Node> for TypedShapeItem
Source§impl TryFrom<Node> for UnaryOperation
impl TryFrom<Node> for UnaryOperation
Source§impl TryFrom<Node> for UnaryPostfixOperation
impl TryFrom<Node> for UnaryPostfixOperation
Source§impl TryFrom<Node> for UseMiddlewaresBlock
impl TryFrom<Node> for UseMiddlewaresBlock
Source§impl Write for Node
impl Write for Node
fn write<'a>(&'a self, writer: &mut Writer<'a>)
fn write_output_with_default_writer(&self) -> String
fn prefer_whitespace_before(&self) -> bool
fn prefer_whitespace_after(&self) -> bool
fn prefer_always_no_whitespace_before(&self) -> bool
fn always_start_on_new_line(&self) -> bool
fn always_end_on_new_line(&self) -> bool
fn is_block_start(&self) -> bool
fn is_block_end(&self) -> bool
fn is_block_element_delimiter(&self) -> bool
fn is_block_level_element(&self) -> bool
fn wrap(&self, content: &str, available_length: usize) -> String
impl Send for Node
impl Sync for Node
Auto Trait Implementations§
impl !Freeze for Node
impl !RefUnwindSafe for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl !UnwindSafe for Node
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
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self to use its UpperHex implementation when
Debug-formatted.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> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self, then passes self.deref() into the pipe function.Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref() only in debug builds, and is erased in release
builds.