Identifiable

Trait Identifiable 

Source
pub trait Identifiable {
    // Required method
    fn path(&self) -> &Vec<usize>;

    // Provided methods
    fn source_id(&self) -> usize { ... }
    fn id(&self) -> usize { ... }
    fn parent_path(&self) -> Vec<usize> { ... }
}

Required Methods§

Source

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

Provided Methods§

Source

fn source_id(&self) -> usize

Source

fn id(&self) -> usize

Source

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

Implementors§

Source§

impl Identifiable for ArithExpr

Source§

impl Identifiable for ExpressionKind

Source§

impl Identifiable for Node

Source§

impl Identifiable for TypeExprKind

Source§

impl Identifiable for Argument

Source§

impl Identifiable for ArgumentDeclaration

Source§

impl Identifiable for ArgumentList

Source§

impl Identifiable for ArgumentListDeclaration

Source§

impl Identifiable for BinaryOperation

Source§

impl Identifiable for UnaryOperation

Source§

impl Identifiable for UnaryPostfixOperation

Source§

impl Identifiable for AvailabilityFlag

Source§

impl Identifiable for AvailabilityFlagEnd

Source§

impl Identifiable for BracketExpression

Source§

impl Identifiable for CodeComment

Source§

impl Identifiable for Config

Source§

impl Identifiable for ConfigDeclaration

Source§

impl Identifiable for ConstantDeclaration

Source§

impl Identifiable for DataSet

Source§

impl Identifiable for DataSetGroup

Source§

impl Identifiable for DataSetRecord

Source§

impl Identifiable for Decorator

Source§

impl Identifiable for DecoratorDeclaration

Source§

impl Identifiable for DecoratorDeclarationVariant

Source§

impl Identifiable for DocComment

Source§

impl Identifiable for EmptyDecorator

Source§

impl Identifiable for EmptyDot

Source§

impl Identifiable for EmptyPipeline

Source§

impl Identifiable for Enum

Source§

impl Identifiable for EnumMember

Source§

impl Identifiable for Expression

Source§

impl Identifiable for Field

Source§

impl Identifiable for FunctionDeclaration

Source§

impl Identifiable for GenericsConstraint

Source§

impl Identifiable for GenericsConstraintItem

Source§

impl Identifiable for GenericsDeclaration

Source§

impl Identifiable for Group

Source§

impl Identifiable for HandlerDeclaration

Source§

impl Identifiable for HandlerGroupDeclaration

Source§

impl Identifiable for HandlerTemplateDeclaration

Source§

impl Identifiable for Identifier

Source§

impl Identifiable for IdentifierPath

Source§

impl Identifiable for Import

Source§

impl Identifiable for IncludeHandlerFromTemplate

Source§

impl Identifiable for IntSubscript

Source§

impl Identifiable for InterfaceDeclaration

Source§

impl Identifiable for Keyword

Source§

impl Identifiable for ArrayLiteral

Source§

impl Identifiable for BoolLiteral

Source§

impl Identifiable for DictionaryLiteral

Source§

impl Identifiable for EnumVariantLiteral

Source§

impl Identifiable for NullLiteral

Source§

impl Identifiable for NumericLiteral

Source§

impl Identifiable for RegexLiteral

Source§

impl Identifiable for StringLiteral

Source§

impl Identifiable for TupleLiteral

Source§

impl Identifiable for MiddlewareDeclaration

Source§

impl Identifiable for Model

Source§

impl Identifiable for NamedExpression

Source§

impl Identifiable for Namespace

Source§

impl Identifiable for Operator

Source§

impl Identifiable for PartialArgument

Source§

impl Identifiable for PartialArgumentDeclaration

Source§

impl Identifiable for PartialField

Source§

impl Identifiable for Pipeline

Source§

impl Identifiable for PipelineItemDeclaration

Source§

impl Identifiable for PipelineItemDeclarationVariant

Source§

impl Identifiable for Punctuation

Source§

impl Identifiable for StructDeclaration

Source§

impl Identifiable for Subscript

Source§

impl Identifiable for SynthesizedShapeDeclaration

Source§

impl Identifiable for SynthesizedShapeFieldDeclaration

Source§

impl Identifiable for TypeAsValueExpression

Source§

impl Identifiable for TypeBinaryOperation

Source§

impl Identifiable for TypeExpr

Source§

impl Identifiable for TypeGenerics

Source§

impl Identifiable for TypeGroup

Source§

impl Identifiable for TypeItem

Source§

impl Identifiable for TypeSubscript

Source§

impl Identifiable for TypeTuple

Source§

impl Identifiable for TypedEnum

Source§

impl Identifiable for TypedShape

Source§

impl Identifiable for TypedShapeItem

Source§

impl Identifiable for Unit

Source§

impl Identifiable for UseMiddlewaresBlock