Enum Node

Source
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

Source

pub fn is_argument(&self) -> bool

Source

pub fn as_argument(&self) -> Option<&Argument>

Source

pub fn is_argument_list(&self) -> bool

Source

pub fn as_argument_list(&self) -> Option<&ArgumentList>

Source

pub fn is_argument_list_declaration(&self) -> bool

Source

pub fn as_argument_list_declaration(&self) -> Option<&ArgumentListDeclaration>

Source

pub fn is_argument_declaration(&self) -> bool

Source

pub fn as_argument_declaration(&self) -> Option<&ArgumentDeclaration>

Source

pub fn is_arith_expr(&self) -> bool

Source

pub fn as_arith_expr(&self) -> Option<&ArithExpr>

Source

pub fn is_unary_operation(&self) -> bool

Source

pub fn as_unary_operation(&self) -> Option<&UnaryOperation>

Source

pub fn is_unary_postfix_operation(&self) -> bool

Source

pub fn as_unary_postfix_operation(&self) -> Option<&UnaryPostfixOperation>

Source

pub fn is_binary_operation(&self) -> bool

Source

pub fn as_binary_operation(&self) -> Option<&BinaryOperation>

Source

pub fn is_availability_flag(&self) -> bool

Source

pub fn as_availability_flag(&self) -> Option<&AvailabilityFlag>

Source

pub fn is_availability_flag_end(&self) -> bool

Source

pub fn as_availability_flag_end(&self) -> Option<&AvailabilityFlagEnd>

Source

pub fn is_code_comment(&self) -> bool

Source

pub fn as_code_comment(&self) -> Option<&CodeComment>

Source

pub fn is_doc_comment(&self) -> bool

Source

pub fn as_doc_comment(&self) -> Option<&DocComment>

Source

pub fn is_config(&self) -> bool

Source

pub fn as_config(&self) -> Option<&Config>

Source

pub fn is_keyword(&self) -> bool

Source

pub fn as_keyword(&self) -> Option<&Keyword>

Source

pub fn is_config_declaration(&self) -> bool

Source

pub fn as_config_declaration(&self) -> Option<&ConfigDeclaration>

Source

pub fn is_constant_declaration(&self) -> bool

Source

pub fn as_constant_declaration(&self) -> Option<&ConstantDeclaration>

Source

pub fn is_data_set(&self) -> bool

Source

pub fn as_data_set(&self) -> Option<&DataSet>

Source

pub fn is_data_set_group(&self) -> bool

Source

pub fn as_data_set_group(&self) -> Option<&DataSetGroup>

Source

pub fn is_data_set_record(&self) -> bool

Source

pub fn as_data_set_record(&self) -> Option<&DataSetRecord>

Source

pub fn is_decorator(&self) -> bool

Source

pub fn as_decorator(&self) -> Option<&Decorator>

Source

pub fn is_decorator_declaration(&self) -> bool

Source

pub fn as_decorator_declaration(&self) -> Option<&DecoratorDeclaration>

Source

pub fn is_decorator_declaration_variant(&self) -> bool

Source

pub fn as_decorator_declaration_variant( &self, ) -> Option<&DecoratorDeclarationVariant>

Source

pub fn is_enum(&self) -> bool

Source

pub fn as_enum(&self) -> Option<&Enum>

Source

pub fn is_enum_member(&self) -> bool

Source

pub fn as_enum_member(&self) -> Option<&EnumMember>

Source

pub fn is_expression(&self) -> bool

Source

pub fn as_expression(&self) -> Option<&Expression>

Source

pub fn is_named_expression(&self) -> bool

Source

pub fn as_named_expression(&self) -> Option<&NamedExpression>

Source

pub fn is_bracket_expression(&self) -> bool

Source

pub fn as_bracket_expression(&self) -> Option<&BracketExpression>

Source

pub fn is_group(&self) -> bool

Source

pub fn as_group(&self) -> Option<&Group>

Source

pub fn is_numeric_literal(&self) -> bool

Source

pub fn as_numeric_literal(&self) -> Option<&NumericLiteral>

Source

pub fn is_string_literal(&self) -> bool

Source

pub fn as_string_literal(&self) -> Option<&StringLiteral>

Source

pub fn is_regex_literal(&self) -> bool

Source

pub fn as_regex_literal(&self) -> Option<&RegexLiteral>

Source

pub fn is_bool_literal(&self) -> bool

Source

pub fn as_bool_literal(&self) -> Option<&BoolLiteral>

Source

pub fn is_null_literal(&self) -> bool

Source

pub fn as_null_literal(&self) -> Option<&NullLiteral>

Source

pub fn is_enum_variant_literal(&self) -> bool

Source

pub fn as_enum_variant_literal(&self) -> Option<&EnumVariantLiteral>

Source

pub fn is_tuple_literal(&self) -> bool

Source

pub fn as_tuple_literal(&self) -> Option<&TupleLiteral>

Source

pub fn is_array_literal(&self) -> bool

Source

pub fn as_array_literal(&self) -> Option<&ArrayLiteral>

Source

pub fn is_dictionary_literal(&self) -> bool

Source

pub fn as_dictionary_literal(&self) -> Option<&DictionaryLiteral>

Source

pub fn is_identifier(&self) -> bool

Source

pub fn as_identifier(&self) -> Option<&Identifier>

Source

pub fn is_subscript(&self) -> bool

Source

pub fn as_subscript(&self) -> Option<&Subscript>

Source

pub fn is_int_subscript(&self) -> bool

Source

pub fn as_int_subscript(&self) -> Option<&IntSubscript>

Source

pub fn is_unit(&self) -> bool

Source

pub fn as_unit(&self) -> Option<&Unit>

Source

pub fn is_pipeline(&self) -> bool

Source

pub fn as_pipeline(&self) -> Option<&Pipeline>

Source

pub fn is_empty_pipeline(&self) -> bool

Source

pub fn as_empty_pipeline(&self) -> Option<&EmptyPipeline>

Source

pub fn is_field(&self) -> bool

Source

pub fn as_field(&self) -> Option<&Field>

Source

pub fn is_function_declaration(&self) -> bool

Source

pub fn as_function_declaration(&self) -> Option<&FunctionDeclaration>

Source

pub fn is_generics_declaration(&self) -> bool

Source

pub fn as_generics_declaration(&self) -> Option<&GenericsDeclaration>

Source

pub fn is_generics_constraint(&self) -> bool

Source

pub fn as_generics_constraint(&self) -> Option<&GenericsConstraint>

Source

pub fn is_generics_constraint_item(&self) -> bool

Source

pub fn as_generics_constraint_item(&self) -> Option<&GenericsConstraintItem>

Source

pub fn is_handler_group_declaration(&self) -> bool

Source

pub fn as_handler_group_declaration(&self) -> Option<&HandlerGroupDeclaration>

Source

pub fn is_handler_declaration(&self) -> bool

Source

pub fn as_handler_declaration(&self) -> Option<&HandlerDeclaration>

Source

pub fn is_identifier_path(&self) -> bool

Source

pub fn as_identifier_path(&self) -> Option<&IdentifierPath>

Source

pub fn is_import(&self) -> bool

Source

pub fn as_import(&self) -> Option<&Import>

Source

pub fn is_interface_declaration(&self) -> bool

Source

pub fn as_interface_declaration(&self) -> Option<&InterfaceDeclaration>

Source

pub fn is_middleware_declaration(&self) -> bool

Source

pub fn as_middleware_declaration(&self) -> Option<&MiddlewareDeclaration>

Source

pub fn is_model(&self) -> bool

Source

pub fn as_model(&self) -> Option<&Model>

Source

pub fn is_namespace(&self) -> bool

Source

pub fn as_namespace(&self) -> Option<&Namespace>

Source

pub fn is_pipeline_item_declaration(&self) -> bool

Source

pub fn as_pipeline_item_declaration(&self) -> Option<&PipelineItemDeclaration>

Source

pub fn is_pipeline_item_declaration_variant(&self) -> bool

Source

pub fn as_pipeline_item_declaration_variant( &self, ) -> Option<&PipelineItemDeclarationVariant>

Source

pub fn is_struct_declaration(&self) -> bool

Source

pub fn as_struct_declaration(&self) -> Option<&StructDeclaration>

Source

pub fn is_type_expr(&self) -> bool

Source

pub fn as_type_expr(&self) -> Option<&TypeExpr>

Source

pub fn is_type_binary_operation(&self) -> bool

Source

pub fn as_type_binary_operation(&self) -> Option<&TypeBinaryOperation>

Source

pub fn is_type_group(&self) -> bool

Source

pub fn as_type_group(&self) -> Option<&TypeGroup>

Source

pub fn is_type_tuple(&self) -> bool

Source

pub fn as_type_tuple(&self) -> Option<&TypeTuple>

Source

pub fn is_type_subscript(&self) -> bool

Source

pub fn as_type_subscript(&self) -> Option<&TypeSubscript>

Source

pub fn is_type_item(&self) -> bool

Source

pub fn as_type_item(&self) -> Option<&TypeItem>

Source

pub fn is_type_generics(&self) -> bool

Source

pub fn as_type_generics(&self) -> Option<&TypeGenerics>

Source

pub fn is_use_middlewares_block(&self) -> bool

Source

pub fn as_use_middlewares_block(&self) -> Option<&UseMiddlewaresBlock>

Source

pub fn is_punctuation(&self) -> bool

Source

pub fn as_punctuation(&self) -> Option<&Punctuation>

Source

pub fn is_operator(&self) -> bool

Source

pub fn as_operator(&self) -> Option<&Operator>

Source

pub fn is_empty_dot(&self) -> bool

Source

pub fn as_empty_dot(&self) -> Option<&EmptyDot>

Source

pub fn is_partial_field(&self) -> bool

Source

pub fn as_partial_field(&self) -> Option<&PartialField>

Source

pub fn is_partial_argument_declaration(&self) -> bool

Source

pub fn as_partial_argument_declaration( &self, ) -> Option<&PartialArgumentDeclaration>

Source

pub fn is_partial_argument(&self) -> bool

Source

pub fn as_partial_argument(&self) -> Option<&PartialArgument>

Source

pub fn is_empty_decorator(&self) -> bool

Source

pub fn as_empty_decorator(&self) -> Option<&EmptyDecorator>

Source

pub fn is_typed_enum(&self) -> bool

Source

pub fn as_typed_enum(&self) -> Option<&TypedEnum>

Source

pub fn is_typed_shape(&self) -> bool

Source

pub fn as_typed_shape(&self) -> Option<&TypedShape>

Source

pub fn is_typed_shape_item(&self) -> bool

Source

pub fn as_typed_shape_item(&self) -> Option<&TypedShapeItem>

Source

pub fn is_synthesized_shape_declaration(&self) -> bool

Source

pub fn as_synthesized_shape_declaration( &self, ) -> Option<&SynthesizedShapeDeclaration>

Source

pub fn is_synthesized_shape_field_declaration(&self) -> bool

Source

pub fn as_synthesized_shape_field_declaration( &self, ) -> Option<&SynthesizedShapeFieldDeclaration>

Source

pub fn is_handler_template_declaration(&self) -> bool

Source

pub fn as_handler_template_declaration( &self, ) -> Option<&HandlerTemplateDeclaration>

Source

pub fn is_include_handler_from_template(&self) -> bool

Source

pub fn as_include_handler_from_template( &self, ) -> Option<&IncludeHandlerFromTemplate>

Source

pub fn is_type_as_value_expression(&self) -> bool

Source

pub fn as_type_as_value_expression(&self) -> Option<&TypeAsValueExpression>

Source

pub fn as_dyn_node_trait(&self) -> &dyn NodeTrait

Source

pub fn identifier_span(&self) -> Option<Span>

Source

pub fn available_test(&self, availability: Availability) -> bool

Source

pub fn string_path(&self) -> Option<&Vec<String>>

Source

pub fn str_path(&self) -> Option<Vec<&str>>

Source

pub fn name(&self) -> Option<&str>

Trait Implementations§

Source§

impl Debug for Node

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Node

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<Argument> for Node

Source§

fn from(value: Argument) -> Self

Converts to this type from the input type.
Source§

impl From<ArgumentDeclaration> for Node

Source§

fn from(value: ArgumentDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<ArgumentList> for Node

Source§

fn from(value: ArgumentList) -> Self

Converts to this type from the input type.
Source§

impl From<ArgumentListDeclaration> for Node

Source§

fn from(value: ArgumentListDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<ArithExpr> for Node

Source§

fn from(value: ArithExpr) -> Self

Converts to this type from the input type.
Source§

impl From<ArrayLiteral> for Node

Source§

fn from(value: ArrayLiteral) -> Self

Converts to this type from the input type.
Source§

impl From<AvailabilityFlag> for Node

Source§

fn from(value: AvailabilityFlag) -> Self

Converts to this type from the input type.
Source§

impl From<AvailabilityFlagEnd> for Node

Source§

fn from(value: AvailabilityFlagEnd) -> Self

Converts to this type from the input type.
Source§

impl From<BinaryOperation> for Node

Source§

fn from(value: BinaryOperation) -> Self

Converts to this type from the input type.
Source§

impl From<BoolLiteral> for Node

Source§

fn from(value: BoolLiteral) -> Self

Converts to this type from the input type.
Source§

impl From<BracketExpression> for Node

Source§

fn from(value: BracketExpression) -> Self

Converts to this type from the input type.
Source§

impl From<CodeComment> for Node

Source§

fn from(value: CodeComment) -> Self

Converts to this type from the input type.
Source§

impl From<Config> for Node

Source§

fn from(value: Config) -> Self

Converts to this type from the input type.
Source§

impl From<ConfigDeclaration> for Node

Source§

fn from(value: ConfigDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<ConstantDeclaration> for Node

Source§

fn from(value: ConstantDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<DataSet> for Node

Source§

fn from(value: DataSet) -> Self

Converts to this type from the input type.
Source§

impl From<DataSetGroup> for Node

Source§

fn from(value: DataSetGroup) -> Self

Converts to this type from the input type.
Source§

impl From<DataSetRecord> for Node

Source§

fn from(value: DataSetRecord) -> Self

Converts to this type from the input type.
Source§

impl From<Decorator> for Node

Source§

fn from(value: Decorator) -> Self

Converts to this type from the input type.
Source§

impl From<DecoratorDeclaration> for Node

Source§

fn from(value: DecoratorDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<DecoratorDeclarationVariant> for Node

Source§

fn from(value: DecoratorDeclarationVariant) -> Self

Converts to this type from the input type.
Source§

impl From<DictionaryLiteral> for Node

Source§

fn from(value: DictionaryLiteral) -> Self

Converts to this type from the input type.
Source§

impl From<DocComment> for Node

Source§

fn from(value: DocComment) -> Self

Converts to this type from the input type.
Source§

impl From<EmptyDecorator> for Node

Source§

fn from(value: EmptyDecorator) -> Self

Converts to this type from the input type.
Source§

impl From<EmptyDot> for Node

Source§

fn from(value: EmptyDot) -> Self

Converts to this type from the input type.
Source§

impl From<EmptyPipeline> for Node

Source§

fn from(value: EmptyPipeline) -> Self

Converts to this type from the input type.
Source§

impl From<Enum> for Node

Source§

fn from(value: Enum) -> Self

Converts to this type from the input type.
Source§

impl From<EnumMember> for Node

Source§

fn from(value: EnumMember) -> Self

Converts to this type from the input type.
Source§

impl From<EnumVariantLiteral> for Node

Source§

fn from(value: EnumVariantLiteral) -> Self

Converts to this type from the input type.
Source§

impl From<Expression> for Node

Source§

fn from(value: Expression) -> Self

Converts to this type from the input type.
Source§

impl From<Field> for Node

Source§

fn from(value: Field) -> Self

Converts to this type from the input type.
Source§

impl From<FunctionDeclaration> for Node

Source§

fn from(value: FunctionDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<GenericsConstraint> for Node

Source§

fn from(value: GenericsConstraint) -> Self

Converts to this type from the input type.
Source§

impl From<GenericsConstraintItem> for Node

Source§

fn from(value: GenericsConstraintItem) -> Self

Converts to this type from the input type.
Source§

impl From<GenericsDeclaration> for Node

Source§

fn from(value: GenericsDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<Group> for Node

Source§

fn from(value: Group) -> Self

Converts to this type from the input type.
Source§

impl From<HandlerDeclaration> for Node

Source§

fn from(value: HandlerDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<HandlerGroupDeclaration> for Node

Source§

fn from(value: HandlerGroupDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<HandlerTemplateDeclaration> for Node

Source§

fn from(value: HandlerTemplateDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<Identifier> for Node

Source§

fn from(value: Identifier) -> Self

Converts to this type from the input type.
Source§

impl From<IdentifierPath> for Node

Source§

fn from(value: IdentifierPath) -> Self

Converts to this type from the input type.
Source§

impl From<Import> for Node

Source§

fn from(value: Import) -> Self

Converts to this type from the input type.
Source§

impl From<IncludeHandlerFromTemplate> for Node

Source§

fn from(value: IncludeHandlerFromTemplate) -> Self

Converts to this type from the input type.
Source§

impl From<IntSubscript> for Node

Source§

fn from(value: IntSubscript) -> Self

Converts to this type from the input type.
Source§

impl From<InterfaceDeclaration> for Node

Source§

fn from(value: InterfaceDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<Keyword> for Node

Source§

fn from(value: Keyword) -> Self

Converts to this type from the input type.
Source§

impl From<MiddlewareDeclaration> for Node

Source§

fn from(value: MiddlewareDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<Model> for Node

Source§

fn from(value: Model) -> Self

Converts to this type from the input type.
Source§

impl From<NamedExpression> for Node

Source§

fn from(value: NamedExpression) -> Self

Converts to this type from the input type.
Source§

impl From<Namespace> for Node

Source§

fn from(value: Namespace) -> Self

Converts to this type from the input type.
Source§

impl From<NullLiteral> for Node

Source§

fn from(value: NullLiteral) -> Self

Converts to this type from the input type.
Source§

impl From<NumericLiteral> for Node

Source§

fn from(value: NumericLiteral) -> Self

Converts to this type from the input type.
Source§

impl From<Operator> for Node

Source§

fn from(value: Operator) -> Self

Converts to this type from the input type.
Source§

impl From<PartialArgument> for Node

Source§

fn from(value: PartialArgument) -> Self

Converts to this type from the input type.
Source§

impl From<PartialArgumentDeclaration> for Node

Source§

fn from(value: PartialArgumentDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<PartialField> for Node

Source§

fn from(value: PartialField) -> Self

Converts to this type from the input type.
Source§

impl From<Pipeline> for Node

Source§

fn from(value: Pipeline) -> Self

Converts to this type from the input type.
Source§

impl From<PipelineItemDeclaration> for Node

Source§

fn from(value: PipelineItemDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<PipelineItemDeclarationVariant> for Node

Source§

fn from(value: PipelineItemDeclarationVariant) -> Self

Converts to this type from the input type.
Source§

impl From<Punctuation> for Node

Source§

fn from(value: Punctuation) -> Self

Converts to this type from the input type.
Source§

impl From<RegexLiteral> for Node

Source§

fn from(value: RegexLiteral) -> Self

Converts to this type from the input type.
Source§

impl From<StringLiteral> for Node

Source§

fn from(value: StringLiteral) -> Self

Converts to this type from the input type.
Source§

impl From<StructDeclaration> for Node

Source§

fn from(value: StructDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<Subscript> for Node

Source§

fn from(value: Subscript) -> Self

Converts to this type from the input type.
Source§

impl From<SynthesizedShapeDeclaration> for Node

Source§

fn from(value: SynthesizedShapeDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<SynthesizedShapeFieldDeclaration> for Node

Source§

fn from(value: SynthesizedShapeFieldDeclaration) -> Self

Converts to this type from the input type.
Source§

impl From<TupleLiteral> for Node

Source§

fn from(value: TupleLiteral) -> Self

Converts to this type from the input type.
Source§

impl From<TypeAsValueExpression> for Node

Source§

fn from(value: TypeAsValueExpression) -> Self

Converts to this type from the input type.
Source§

impl From<TypeBinaryOperation> for Node

Source§

fn from(value: TypeBinaryOperation) -> Self

Converts to this type from the input type.
Source§

impl From<TypeExpr> for Node

Source§

fn from(value: TypeExpr) -> Self

Converts to this type from the input type.
Source§

impl From<TypeGenerics> for Node

Source§

fn from(value: TypeGenerics) -> Self

Converts to this type from the input type.
Source§

impl From<TypeGroup> for Node

Source§

fn from(value: TypeGroup) -> Self

Converts to this type from the input type.
Source§

impl From<TypeItem> for Node

Source§

fn from(value: TypeItem) -> Self

Converts to this type from the input type.
Source§

impl From<TypeSubscript> for Node

Source§

fn from(value: TypeSubscript) -> Self

Converts to this type from the input type.
Source§

impl From<TypeTuple> for Node

Source§

fn from(value: TypeTuple) -> Self

Converts to this type from the input type.
Source§

impl From<TypedEnum> for Node

Source§

fn from(value: TypedEnum) -> Self

Converts to this type from the input type.
Source§

impl From<TypedShape> for Node

Source§

fn from(value: TypedShape) -> Self

Converts to this type from the input type.
Source§

impl From<TypedShapeItem> for Node

Source§

fn from(value: TypedShapeItem) -> Self

Converts to this type from the input type.
Source§

impl From<UnaryOperation> for Node

Source§

fn from(value: UnaryOperation) -> Self

Converts to this type from the input type.
Source§

impl From<UnaryPostfixOperation> for Node

Source§

fn from(value: UnaryPostfixOperation) -> Self

Converts to this type from the input type.
Source§

impl From<Unit> for Node

Source§

fn from(value: Unit) -> Self

Converts to this type from the input type.
Source§

impl From<UseMiddlewaresBlock> for Node

Source§

fn from(value: UseMiddlewaresBlock) -> Self

Converts to this type from the input type.
Source§

impl Identifiable for Node

Source§

fn path(&self) -> &Vec<usize>

Source§

fn source_id(&self) -> usize

Source§

fn id(&self) -> usize

Source§

fn parent_path(&self) -> Vec<usize>

Source§

impl NodeTrait for Node

Source§

fn span(&self) -> Span

Source§

fn children(&self) -> Option<&BTreeMap<usize, Node>>

Source§

fn has_children(&self) -> bool

Source§

fn child(&self, id: usize) -> Option<&Node>

Source§

impl<'a> TryFrom<&'a Node> for &'a Argument

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a ArgumentDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a ArgumentList

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a ArgumentListDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a ArithExpr

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a ArrayLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a AvailabilityFlag

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a AvailabilityFlagEnd

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a BinaryOperation

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a BoolLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a BracketExpression

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a CodeComment

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Config

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a ConfigDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a ConstantDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a DataSet

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a DataSetGroup

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a DataSetRecord

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Decorator

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a DecoratorDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a DecoratorDeclarationVariant

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a DictionaryLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a DocComment

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a EmptyDecorator

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a EmptyDot

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a EmptyPipeline

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Enum

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a EnumMember

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a EnumVariantLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Expression

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Field

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a FunctionDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a GenericsConstraint

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a GenericsConstraintItem

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a GenericsDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Group

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a HandlerDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a HandlerGroupDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a HandlerTemplateDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Identifier

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a IdentifierPath

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Import

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a IncludeHandlerFromTemplate

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a IntSubscript

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a InterfaceDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Keyword

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a MiddlewareDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Model

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a NamedExpression

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Namespace

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a NullLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a NumericLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Operator

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a PartialArgument

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a PartialArgumentDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a PartialField

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Pipeline

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a PipelineItemDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a PipelineItemDeclarationVariant

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Punctuation

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a RegexLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a StringLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a StructDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Subscript

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a SynthesizedShapeDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a SynthesizedShapeFieldDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a TupleLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a TypeAsValueExpression

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a TypeBinaryOperation

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a TypeExpr

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a TypeGenerics

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a TypeGroup

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a TypeItem

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a TypeSubscript

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a TypeTuple

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a TypedEnum

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a TypedShape

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a TypedShapeItem

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a UnaryOperation

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a UnaryPostfixOperation

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a Unit

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Node> for &'a UseMiddlewaresBlock

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Argument

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for ArgumentDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for ArgumentList

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for ArgumentListDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for ArrayLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for AvailabilityFlag

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for AvailabilityFlagEnd

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for BinaryOperation

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for BoolLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for BracketExpression

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for CodeComment

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Config

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for ConfigDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for ConstantDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for DataSet

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for DataSetGroup

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for DataSetRecord

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Decorator

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for DecoratorDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for DecoratorDeclarationVariant

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for DictionaryLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for DocComment

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for EmptyDecorator

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for EmptyDot

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for EmptyPipeline

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Enum

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for EnumMember

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for EnumVariantLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Field

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for FunctionDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for GenericsConstraint

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for GenericsConstraintItem

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for GenericsDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Group

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for HandlerDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for HandlerGroupDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for HandlerTemplateDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Identifier

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for IdentifierPath

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Import

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for IncludeHandlerFromTemplate

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for IntSubscript

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for InterfaceDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Keyword

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for MiddlewareDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Model

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for NamedExpression

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Namespace

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for NullLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for NumericLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Operator

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for PartialArgument

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for PartialArgumentDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for PartialField

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Pipeline

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for PipelineItemDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for PipelineItemDeclarationVariant

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Punctuation

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for RegexLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for StringLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for StructDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Subscript

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for SynthesizedShapeDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for SynthesizedShapeFieldDeclaration

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for TupleLiteral

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for TypeAsValueExpression

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for TypeBinaryOperation

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for TypeGenerics

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for TypeGroup

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for TypeItem

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for TypeSubscript

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for TypeTuple

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for TypedEnum

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for TypedShape

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for TypedShapeItem

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for UnaryOperation

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for UnaryPostfixOperation

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Unit

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for UseMiddlewaresBlock

Source§

type Error = &'static str

The type returned in the event of a conversion error.
Source§

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Write for Node

Source§

impl Send for Node

Source§

impl Sync for Node

Auto Trait Implementations§

§

impl !Freeze for Node

§

impl !RefUnwindSafe for Node

§

impl Unpin for Node

§

impl !UnwindSafe for Node

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> Conv for T

Source§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
Source§

impl<T> FmtForward for T

Source§

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,

Causes self to use its Display implementation when Debug-formatted.
Source§

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,

Causes self to use its LowerHex implementation when Debug-formatted.
Source§

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,

Causes self to use its Pointer implementation when Debug-formatted.
Source§

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,

Causes self to use its UpperHex implementation when Debug-formatted.
Source§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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 more
Source§

impl<T> Pipe for T
where T: ?Sized,

Source§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where 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) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
Source§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
Source§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

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
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

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
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
Source§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
Source§

impl<T> Tap for T

Source§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
Source§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
Source§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
Source§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
Source§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
Source§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
Source§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
Source§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
Source§

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

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
where Self: Borrow<B>, B: ?Sized,

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
where Self: BorrowMut<B>, B: ?Sized,

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
where Self: AsRef<R>, R: ?Sized,

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
where Self: AsMut<R>, R: ?Sized,

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
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
Source§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T> TryConv for T

Source§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V