Enum teo_parser::ast::node::Node
source · pub enum Node {
Show 77 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),
}
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)
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 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<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<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<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<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 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 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 TupleLiteral
impl<'a> TryFrom<&'a Node> for &'a TupleLiteral
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 Identifier
impl TryFrom<Node> for Identifier
source§impl TryFrom<Node> for IdentifierPath
impl TryFrom<Node> for IdentifierPath
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 TupleLiteral
impl TryFrom<Node> for TupleLiteral
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
Auto Trait Implementations§
impl !RefUnwindSafe for Node
impl Send for Node
impl !Sync for Node
impl Unpin 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
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> FmtForward for T
impl<T> FmtForward for T
§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.§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.§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.§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.§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.§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.§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.§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.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§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
§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 more§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 more§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
§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
§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.§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.§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.§impl<T> Tap for T
impl<T> Tap for T
§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 more§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 more§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 more§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 more§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 more§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 more§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.§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.§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.§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.§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.§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.§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.