trait HirLower: Sized {
    type AstType: AstNode + Clone;

    fn missing(ctx: &mut LoweringCtxt) -> Idx<Self>;
    fn lower(ctx: &mut LoweringCtxt, ast: Self::AstType) -> Idx<Self>;

    fn lower_opt(
        ctx: &mut LoweringCtxt,
        opt_ast: Option<Self::AstType>
    ) -> Idx<Self> { ... } }

Required Associated Types§

Required Methods§

Provided Methods§

Implementors§