[][src]Type Definition ra_ap_hir_expand::AstId

type AstId<N> = InFile<FileAstId<N>>;

AstId points to an AST node in any file.

It is stable across reparses, and can be used as salsa key/value.

Implementations

impl<N: AstNode> AstId<N>[src]

pub fn to_node(&self, db: &dyn AstDatabase) -> N[src]