Docs.rs
  • kodept-ast-0.2.0
    • kodept-ast 0.2.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • ITesserakt
    • Dependencies
      • derive_more ^0.99 normal
      • fixedbitset ^0.4.2 normal
      • kodept-core ^0.2 normal
      • paste ^1.0.14 normal
      • qcell ^0.5.4 normal
      • serde ^1.0.188 normal
      • size-of ^0.1.5 normal
      • tracing ^0.1.37 normal
    • Versions
    • 0% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

kodept_ast0.2.0

Identifiable

Required Methods

  • get_id
  • set_id

Object Safety

Implementors

In kodept_ast::graph

?
Change settings

Trait kodept_ast::graph::Identifiable

source ·
pub trait Identifiable: Sized {
    // Required methods
    fn get_id(&self) -> NodeId<Self>;
    fn set_id(&mut self, value: NodeId<Self>);
}

Required Methods§

source

fn get_id(&self) -> NodeId<Self>

source

fn set_id(&mut self, value: NodeId<Self>)

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Identifiable for AbstractFunctionDeclaration

source§

impl Identifiable for Access

source§

impl Identifiable for Application

source§

impl Identifiable for Binary

source§

impl Identifiable for BodiedFunctionDeclaration

source§

impl Identifiable for CharLiteral

source§

impl Identifiable for ElifExpression

source§

impl Identifiable for ElseExpression

source§

impl Identifiable for EnumDeclaration

source§

impl Identifiable for ExpressionBlock

source§

impl Identifiable for FileDeclaration

source§

impl Identifiable for IfExpression

source§

impl Identifiable for InitializedVariable

source§

impl Identifiable for Lambda

source§

impl Identifiable for ModuleDeclaration

source§

impl Identifiable for NumberLiteral

source§

impl Identifiable for ProdType

source§

impl Identifiable for Reference

source§

impl Identifiable for StringLiteral

source§

impl Identifiable for StructDeclaration

source§

impl Identifiable for SumType

source§

impl Identifiable for TupleLiteral

source§

impl Identifiable for TypeName

source§

impl Identifiable for TypedParameter

source§

impl Identifiable for Unary

source§

impl Identifiable for UntypedParameter

source§

impl Identifiable for Variable