hax_frontend_exporter

Trait ExprKindExt

source
pub trait ExprKindExt<'tcx> {
    // Required methods
    fn hir_id_and_attributes<S: ExprState<'tcx>>(
        &self,
        s: &S,
    ) -> (Option<HirId>, Vec<Attribute>);
    fn unroll_scope<S: IsState<'tcx> + HasThir<'tcx>>(
        &self,
        s: &S,
    ) -> Expr<'tcx>;
}

Required Methods§

source

fn hir_id_and_attributes<S: ExprState<'tcx>>( &self, s: &S, ) -> (Option<HirId>, Vec<Attribute>)

source

fn unroll_scope<S: IsState<'tcx> + HasThir<'tcx>>(&self, s: &S) -> Expr<'tcx>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

source§

impl<'tcx> ExprKindExt<'tcx> for Expr<'tcx>

source§

fn hir_id_and_attributes<S: ExprState<'tcx>>( &self, s: &S, ) -> (Option<HirId>, Vec<Attribute>)

source§

fn unroll_scope<S: IsState<'tcx> + HasThir<'tcx>>(&self, s: &S) -> Expr<'tcx>

Implementors§