# Trait rustc_hir_typeck::mem_categorization::HirNode

source ·

    pub(crate) trait HirNode {
        // Required method
        fn hir_id(&self) -> HirId;
    }

## Required Methods§

source

#### fn hir_id(&self) -> HirId

## Implementations on Foreign Types§

source§

### impl HirNode for Expr<'_>

source§

#### fn hir_id(&self) -> HirId

source§

### impl HirNode for Pat<'_>

source§

#### fn hir_id(&self) -> HirId

## Implementors§