Struct rustc_middle::ty::fold::UnknownConstSubstsVisitor [−][src]
Fields
tcx: TyCtxt<'tcx>
flags: TypeFlags
Implementations
pub fn search<T: TypeFoldable<'tcx>>(
visitor: &HasTypeFlagsVisitor<'tcx>,
v: T
) -> ControlFlow<FoundFlags>
pub fn search<T: TypeFoldable<'tcx>>(
visitor: &HasTypeFlagsVisitor<'tcx>,
v: T
) -> ControlFlow<FoundFlags>
This is fairly cold and we don’t want to
bloat the size of the HasTypeFlagsVisitor
.
Trait Implementations
type BreakTy = FoundFlags
Supplies the tcx
for an unevaluated anonymous constant in case its default substs
are not yet supplied. Read more
fn visit_binder<T: TypeFoldable<'tcx>>(
&mut self,
t: &Binder<'tcx, T>
) -> ControlFlow<Self::BreakTy>
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for UnknownConstSubstsVisitor<'tcx>
impl<'tcx> !Send for UnknownConstSubstsVisitor<'tcx>
impl<'tcx> !Sync for UnknownConstSubstsVisitor<'tcx>
impl<'tcx> Unpin for UnknownConstSubstsVisitor<'tcx>
impl<'tcx> !UnwindSafe for UnknownConstSubstsVisitor<'tcx>
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: 16 bytes