Type Alias rustc_middle::ty::sty::Binder
source · pub type Binder<'tcx, T> = Binder<TyCtxt<'tcx>, T>;
Aliased Type§
struct Binder<'tcx, T> { /* private fields */ }
Trait Implementations§
source§impl<T: ParameterizedOverTcx> ParameterizedOverTcx for Binder<'static, T>
impl<T: ParameterizedOverTcx> ParameterizedOverTcx for Binder<'static, T>
source§impl<'tcx, T, P: PrettyPrinter<'tcx>> Print<'tcx, P> for Binder<'tcx, T>
impl<'tcx, T, P: PrettyPrinter<'tcx>> Print<'tcx, P> for Binder<'tcx, T>
source§impl<'tcx> PrintPolyTraitRefExt<'tcx> for Binder<'tcx, TraitRef<'tcx>>
impl<'tcx> PrintPolyTraitRefExt<'tcx> for Binder<'tcx, TraitRef<'tcx>>
fn print_only_trait_path(self) -> Binder<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
fn print_trait_sugared(self) -> Binder<'tcx, TraitRefPrintSugared<'tcx>>
source§impl<'tcx> Value<TyCtxt<'tcx>> for Binder<'_, FnSig<'_>>
impl<'tcx> Value<TyCtxt<'tcx>> for Binder<'_, FnSig<'_>>
fn from_cycle_error( tcx: TyCtxt<'tcx>, cycle_error: &CycleError, guar: ErrorGuaranteed, ) -> Self
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.