Struct rustc_typeck::constrained_generic_params::ParameterCollector [−][src]
struct ParameterCollector<'tcx> {
tcx: TyCtxt<'tcx>,
parameters: Vec<Parameter>,
include_nonconstraining: bool,
}Fields
tcx: TyCtxt<'tcx>parameters: Vec<Parameter>include_nonconstraining: boolTrait Implementations
Supplies the tcx for an unevaluated anonymous constant in case its default substs
are not yet supplied. Read more
fn visit_binder<T>(&mut self, t: &Binder<T>) -> ControlFlow<Self::BreakTy, ()> where
T: TypeFoldable<'tcx>,
fn visit_unevaluated_const(
&mut self,
uv: Unevaluated<Option<Promoted>>
) -> ControlFlow<Self::BreakTy, ()>
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ParameterCollector
impl<'tcx> !Send for ParameterCollector
impl<'tcx> !Sync for ParameterCollector
impl<'tcx> Unpin for ParameterCollector
impl<'tcx> !UnwindSafe for ParameterCollector
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes
