pub struct AnyNodeId(/* private fields */);Expand description
Lifetime-free handle to a node in the parser arena.
Store this when you need stable node identity outside a borrowed AST view.
Implementations§
Trait Implementations§
Source§impl From<AggregateFunctionCallId> for AnyNodeId
impl From<AggregateFunctionCallId> for AnyNodeId
Source§fn from(id: AggregateFunctionCallId) -> AnyNodeId
fn from(id: AggregateFunctionCallId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<AlterTableStmtId> for AnyNodeId
impl From<AlterTableStmtId> for AnyNodeId
Source§fn from(id: AlterTableStmtId) -> AnyNodeId
fn from(id: AlterTableStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<AnalyzeOrReindexStmtId> for AnyNodeId
impl From<AnalyzeOrReindexStmtId> for AnyNodeId
Source§fn from(id: AnalyzeOrReindexStmtId) -> AnyNodeId
fn from(id: AnalyzeOrReindexStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<AttachStmtId> for AnyNodeId
impl From<AttachStmtId> for AnyNodeId
Source§fn from(id: AttachStmtId) -> AnyNodeId
fn from(id: AttachStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<BetweenExprId> for AnyNodeId
impl From<BetweenExprId> for AnyNodeId
Source§fn from(id: BetweenExprId) -> AnyNodeId
fn from(id: BetweenExprId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<BinaryExprId> for AnyNodeId
impl From<BinaryExprId> for AnyNodeId
Source§fn from(id: BinaryExprId) -> AnyNodeId
fn from(id: BinaryExprId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<CaseExprId> for AnyNodeId
impl From<CaseExprId> for AnyNodeId
Source§fn from(id: CaseExprId) -> AnyNodeId
fn from(id: CaseExprId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<CaseWhenId> for AnyNodeId
impl From<CaseWhenId> for AnyNodeId
Source§fn from(id: CaseWhenId) -> AnyNodeId
fn from(id: CaseWhenId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<CaseWhenListId> for AnyNodeId
impl From<CaseWhenListId> for AnyNodeId
Source§fn from(id: CaseWhenListId) -> AnyNodeId
fn from(id: CaseWhenListId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<CastExprId> for AnyNodeId
impl From<CastExprId> for AnyNodeId
Source§fn from(id: CastExprId) -> AnyNodeId
fn from(id: CastExprId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<CollateExprId> for AnyNodeId
impl From<CollateExprId> for AnyNodeId
Source§fn from(id: CollateExprId) -> AnyNodeId
fn from(id: CollateExprId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<ColumnConstraintId> for AnyNodeId
impl From<ColumnConstraintId> for AnyNodeId
Source§fn from(id: ColumnConstraintId) -> AnyNodeId
fn from(id: ColumnConstraintId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<ColumnConstraintListId> for AnyNodeId
impl From<ColumnConstraintListId> for AnyNodeId
Source§fn from(id: ColumnConstraintListId) -> AnyNodeId
fn from(id: ColumnConstraintListId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<ColumnDefId> for AnyNodeId
impl From<ColumnDefId> for AnyNodeId
Source§fn from(id: ColumnDefId) -> AnyNodeId
fn from(id: ColumnDefId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<ColumnDefListId> for AnyNodeId
impl From<ColumnDefListId> for AnyNodeId
Source§fn from(id: ColumnDefListId) -> AnyNodeId
fn from(id: ColumnDefListId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<ColumnRefId> for AnyNodeId
impl From<ColumnRefId> for AnyNodeId
Source§fn from(id: ColumnRefId) -> AnyNodeId
fn from(id: ColumnRefId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<CompoundSelectId> for AnyNodeId
impl From<CompoundSelectId> for AnyNodeId
Source§fn from(id: CompoundSelectId) -> AnyNodeId
fn from(id: CompoundSelectId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<CreateIndexStmtId> for AnyNodeId
impl From<CreateIndexStmtId> for AnyNodeId
Source§fn from(id: CreateIndexStmtId) -> AnyNodeId
fn from(id: CreateIndexStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<CreateTableStmtId> for AnyNodeId
impl From<CreateTableStmtId> for AnyNodeId
Source§fn from(id: CreateTableStmtId) -> AnyNodeId
fn from(id: CreateTableStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<CreateTriggerStmtId> for AnyNodeId
impl From<CreateTriggerStmtId> for AnyNodeId
Source§fn from(id: CreateTriggerStmtId) -> AnyNodeId
fn from(id: CreateTriggerStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<CreateViewStmtId> for AnyNodeId
impl From<CreateViewStmtId> for AnyNodeId
Source§fn from(id: CreateViewStmtId) -> AnyNodeId
fn from(id: CreateViewStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<CreateVirtualTableStmtId> for AnyNodeId
impl From<CreateVirtualTableStmtId> for AnyNodeId
Source§fn from(id: CreateVirtualTableStmtId) -> AnyNodeId
fn from(id: CreateVirtualTableStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<CteDefinitionId> for AnyNodeId
impl From<CteDefinitionId> for AnyNodeId
Source§fn from(id: CteDefinitionId) -> AnyNodeId
fn from(id: CteDefinitionId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<DeleteStmtId> for AnyNodeId
impl From<DeleteStmtId> for AnyNodeId
Source§fn from(id: DeleteStmtId) -> AnyNodeId
fn from(id: DeleteStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<DetachStmtId> for AnyNodeId
impl From<DetachStmtId> for AnyNodeId
Source§fn from(id: DetachStmtId) -> AnyNodeId
fn from(id: DetachStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<DropStmtId> for AnyNodeId
impl From<DropStmtId> for AnyNodeId
Source§fn from(id: DropStmtId) -> AnyNodeId
fn from(id: DropStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<ExistsExprId> for AnyNodeId
impl From<ExistsExprId> for AnyNodeId
Source§fn from(id: ExistsExprId) -> AnyNodeId
fn from(id: ExistsExprId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<ExplainStmtId> for AnyNodeId
impl From<ExplainStmtId> for AnyNodeId
Source§fn from(id: ExplainStmtId) -> AnyNodeId
fn from(id: ExplainStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<ExprListId> for AnyNodeId
impl From<ExprListId> for AnyNodeId
Source§fn from(id: ExprListId) -> AnyNodeId
fn from(id: ExprListId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<FilterOverId> for AnyNodeId
impl From<FilterOverId> for AnyNodeId
Source§fn from(id: FilterOverId) -> AnyNodeId
fn from(id: FilterOverId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<ForeignKeyClauseId> for AnyNodeId
impl From<ForeignKeyClauseId> for AnyNodeId
Source§fn from(id: ForeignKeyClauseId) -> AnyNodeId
fn from(id: ForeignKeyClauseId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<FrameBoundId> for AnyNodeId
impl From<FrameBoundId> for AnyNodeId
Source§fn from(id: FrameBoundId) -> AnyNodeId
fn from(id: FrameBoundId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<FrameSpecId> for AnyNodeId
impl From<FrameSpecId> for AnyNodeId
Source§fn from(id: FrameSpecId) -> AnyNodeId
fn from(id: FrameSpecId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<FunctionCallId> for AnyNodeId
impl From<FunctionCallId> for AnyNodeId
Source§fn from(id: FunctionCallId) -> AnyNodeId
fn from(id: FunctionCallId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<IdentNameId> for AnyNodeId
impl From<IdentNameId> for AnyNodeId
Source§fn from(id: IdentNameId) -> AnyNodeId
fn from(id: IdentNameId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<InExprSourceId> for AnyNodeId
impl From<InExprSourceId> for AnyNodeId
Source§fn from(id: InExprSourceId) -> AnyNodeId
fn from(id: InExprSourceId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<InsertStmtId> for AnyNodeId
impl From<InsertStmtId> for AnyNodeId
Source§fn from(id: InsertStmtId) -> AnyNodeId
fn from(id: InsertStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<JoinClauseId> for AnyNodeId
impl From<JoinClauseId> for AnyNodeId
Source§fn from(id: JoinClauseId) -> AnyNodeId
fn from(id: JoinClauseId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<JoinPrefixId> for AnyNodeId
impl From<JoinPrefixId> for AnyNodeId
Source§fn from(id: JoinPrefixId) -> AnyNodeId
fn from(id: JoinPrefixId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<LikeExprId> for AnyNodeId
impl From<LikeExprId> for AnyNodeId
Source§fn from(id: LikeExprId) -> AnyNodeId
fn from(id: LikeExprId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<LimitClauseId> for AnyNodeId
impl From<LimitClauseId> for AnyNodeId
Source§fn from(id: LimitClauseId) -> AnyNodeId
fn from(id: LimitClauseId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<NamedWindowDefId> for AnyNodeId
impl From<NamedWindowDefId> for AnyNodeId
Source§fn from(id: NamedWindowDefId) -> AnyNodeId
fn from(id: NamedWindowDefId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<NamedWindowDefListId> for AnyNodeId
impl From<NamedWindowDefListId> for AnyNodeId
Source§fn from(id: NamedWindowDefListId) -> AnyNodeId
fn from(id: NamedWindowDefListId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<OrderByListId> for AnyNodeId
impl From<OrderByListId> for AnyNodeId
Source§fn from(id: OrderByListId) -> AnyNodeId
fn from(id: OrderByListId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<OrderedSetFunctionCallId> for AnyNodeId
impl From<OrderedSetFunctionCallId> for AnyNodeId
Source§fn from(id: OrderedSetFunctionCallId) -> AnyNodeId
fn from(id: OrderedSetFunctionCallId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<OrderingTermId> for AnyNodeId
impl From<OrderingTermId> for AnyNodeId
Source§fn from(id: OrderingTermId) -> AnyNodeId
fn from(id: OrderingTermId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<PragmaStmtId> for AnyNodeId
impl From<PragmaStmtId> for AnyNodeId
Source§fn from(id: PragmaStmtId) -> AnyNodeId
fn from(id: PragmaStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<QualifiedNameId> for AnyNodeId
impl From<QualifiedNameId> for AnyNodeId
Source§fn from(id: QualifiedNameId) -> AnyNodeId
fn from(id: QualifiedNameId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<RaiseExprId> for AnyNodeId
impl From<RaiseExprId> for AnyNodeId
Source§fn from(id: RaiseExprId) -> AnyNodeId
fn from(id: RaiseExprId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<ResultColumnId> for AnyNodeId
impl From<ResultColumnId> for AnyNodeId
Source§fn from(id: ResultColumnId) -> AnyNodeId
fn from(id: ResultColumnId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<ResultColumnListId> for AnyNodeId
impl From<ResultColumnListId> for AnyNodeId
Source§fn from(id: ResultColumnListId) -> AnyNodeId
fn from(id: ResultColumnListId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<SavepointStmtId> for AnyNodeId
impl From<SavepointStmtId> for AnyNodeId
Source§fn from(id: SavepointStmtId) -> AnyNodeId
fn from(id: SavepointStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<SelectStmtId> for AnyNodeId
impl From<SelectStmtId> for AnyNodeId
Source§fn from(id: SelectStmtId) -> AnyNodeId
fn from(id: SelectStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<SetClauseId> for AnyNodeId
impl From<SetClauseId> for AnyNodeId
Source§fn from(id: SetClauseId) -> AnyNodeId
fn from(id: SetClauseId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<SetClauseListId> for AnyNodeId
impl From<SetClauseListId> for AnyNodeId
Source§fn from(id: SetClauseListId) -> AnyNodeId
fn from(id: SetClauseListId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<SubqueryExprId> for AnyNodeId
impl From<SubqueryExprId> for AnyNodeId
Source§fn from(id: SubqueryExprId) -> AnyNodeId
fn from(id: SubqueryExprId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<SubqueryTableSourceId> for AnyNodeId
impl From<SubqueryTableSourceId> for AnyNodeId
Source§fn from(id: SubqueryTableSourceId) -> AnyNodeId
fn from(id: SubqueryTableSourceId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<TableConstraintId> for AnyNodeId
impl From<TableConstraintId> for AnyNodeId
Source§fn from(id: TableConstraintId) -> AnyNodeId
fn from(id: TableConstraintId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<TableConstraintListId> for AnyNodeId
impl From<TableConstraintListId> for AnyNodeId
Source§fn from(id: TableConstraintListId) -> AnyNodeId
fn from(id: TableConstraintListId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<TableRefId> for AnyNodeId
impl From<TableRefId> for AnyNodeId
Source§fn from(id: TableRefId) -> AnyNodeId
fn from(id: TableRefId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<TableSourceId> for AnyNodeId
impl From<TableSourceId> for AnyNodeId
Source§fn from(id: TableSourceId) -> AnyNodeId
fn from(id: TableSourceId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<TransactionStmtId> for AnyNodeId
impl From<TransactionStmtId> for AnyNodeId
Source§fn from(id: TransactionStmtId) -> AnyNodeId
fn from(id: TransactionStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<TriggerCmdListId> for AnyNodeId
impl From<TriggerCmdListId> for AnyNodeId
Source§fn from(id: TriggerCmdListId) -> AnyNodeId
fn from(id: TriggerCmdListId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<TriggerEventId> for AnyNodeId
impl From<TriggerEventId> for AnyNodeId
Source§fn from(id: TriggerEventId) -> AnyNodeId
fn from(id: TriggerEventId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<UnaryExprId> for AnyNodeId
impl From<UnaryExprId> for AnyNodeId
Source§fn from(id: UnaryExprId) -> AnyNodeId
fn from(id: UnaryExprId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<UpdateStmtId> for AnyNodeId
impl From<UpdateStmtId> for AnyNodeId
Source§fn from(id: UpdateStmtId) -> AnyNodeId
fn from(id: UpdateStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<UpsertClauseId> for AnyNodeId
impl From<UpsertClauseId> for AnyNodeId
Source§fn from(id: UpsertClauseId) -> AnyNodeId
fn from(id: UpsertClauseId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<UpsertClauseListId> for AnyNodeId
impl From<UpsertClauseListId> for AnyNodeId
Source§fn from(id: UpsertClauseListId) -> AnyNodeId
fn from(id: UpsertClauseListId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<VacuumStmtId> for AnyNodeId
impl From<VacuumStmtId> for AnyNodeId
Source§fn from(id: VacuumStmtId) -> AnyNodeId
fn from(id: VacuumStmtId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<ValuesClauseId> for AnyNodeId
impl From<ValuesClauseId> for AnyNodeId
Source§fn from(id: ValuesClauseId) -> AnyNodeId
fn from(id: ValuesClauseId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<ValuesRowListId> for AnyNodeId
impl From<ValuesRowListId> for AnyNodeId
Source§fn from(id: ValuesRowListId) -> AnyNodeId
fn from(id: ValuesRowListId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<VariableId> for AnyNodeId
impl From<VariableId> for AnyNodeId
Source§fn from(id: VariableId) -> AnyNodeId
fn from(id: VariableId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<WindowDefId> for AnyNodeId
impl From<WindowDefId> for AnyNodeId
Source§fn from(id: WindowDefId) -> AnyNodeId
fn from(id: WindowDefId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<WindowDefListId> for AnyNodeId
impl From<WindowDefListId> for AnyNodeId
Source§fn from(id: WindowDefListId) -> AnyNodeId
fn from(id: WindowDefListId) -> AnyNodeId
Converts to this type from the input type.
Source§impl From<WithClauseId> for AnyNodeId
impl From<WithClauseId> for AnyNodeId
Source§fn from(id: WithClauseId) -> AnyNodeId
fn from(id: WithClauseId) -> AnyNodeId
Converts to this type from the input type.
impl Copy for AnyNodeId
impl Eq for AnyNodeId
impl StructuralPartialEq for AnyNodeId
Auto Trait Implementations§
impl Freeze for AnyNodeId
impl RefUnwindSafe for AnyNodeId
impl Send for AnyNodeId
impl Sync for AnyNodeId
impl Unpin for AnyNodeId
impl UnsafeUnpin for AnyNodeId
impl UnwindSafe for AnyNodeId
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