flux_rustc_bridge::lowering

Trait Lower

Source
pub trait Lower<'tcx> {
    type R;

    // Required method
    fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R;
}

Required Associated Types§

Source

type R

Required Methods§

Source

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Implementations on Foreign Types§

Source§

impl<'tcx> Lower<'tcx> for &'tcx Generics

Source§

type R = Generics<'tcx>

Source§

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for &'tcx List<BoundVariableKind>

Source§

type R = Result<Interned<[BoundVariableKind]>, UnsupportedReason>

Source§

fn lower(self, _tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for &GenericParamDef

Source§

type R = GenericParamDef

Source§

fn lower(self, _tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for ValTree<'tcx>

Source§

type R = ValTree

Source§

fn lower(self, _tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for AdtDef<'tcx>

Source§

type R = AdtDef

Source§

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for Const<'tcx>

Source§

type R = Result<Const, UnsupportedReason>

Source§

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for GenericArg<'tcx>

Source§

type R = Result<GenericArg, UnsupportedReason>

Source§

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for GenericPredicates<'tcx>

Source§

type R = Result<GenericPredicates, UnsupportedErr>

Source§

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for Clause<'tcx>

Source§

type R = Result<Clause, UnsupportedReason>

Source§

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for Region<'tcx>

Source§

type R = Result<Region, UnsupportedReason>

Source§

fn lower(self, _tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for Ty<'tcx>

Source§

type R = Result<Ty, UnsupportedReason>

Source§

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for GenericArgsRef<'tcx>

Source§

type R = Result<Interned<[GenericArg]>, UnsupportedReason>

Source§

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for ClauseKind<'tcx>

Source§

type R = Result<ClauseKind, UnsupportedReason>

Source§

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for ExistentialPredicate<'tcx>

Source§

impl<'tcx> Lower<'tcx> for TraitRef<'tcx>

Source§

type R = Result<TraitRef, UnsupportedReason>

Source§

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for TypeOutlivesPredicate<'tcx>

Source§

impl<'tcx> Lower<'tcx> for FnSig<'tcx>

Source§

type R = Result<FnSig, UnsupportedReason>

Source§

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for Clauses<'tcx>

Source§

type R = Result<Interned<[Clause]>, UnsupportedErr>

Source§

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx> Lower<'tcx> for AliasTyKind

Source§

type R = Result<AliasKind, UnsupportedReason>

Source§

fn lower(self, _tcx: TyCtxt<'tcx>) -> Self::R

Source§

impl<'tcx, T, S> Lower<'tcx> for Binder<'tcx, T>
where T: Lower<'tcx, R = Result<S, UnsupportedReason>>,

Source§

type R = Result<Binder<S>, UnsupportedReason>

Source§

fn lower(self, tcx: TyCtxt<'tcx>) -> Self::R

Implementors§