Struct rustc_hir_typeck::closure::MentionsTy
source · struct MentionsTy<'tcx> {
expected_ty: Ty<'tcx>,
}Fields§
§expected_ty: Ty<'tcx>Trait Implementations§
source§impl<'tcx> TypeVisitor<TyCtxt<'tcx>> for MentionsTy<'tcx>
impl<'tcx> TypeVisitor<TyCtxt<'tcx>> for MentionsTy<'tcx>
type BreakTy = ()
fn visit_ty(&mut self, t: Ty<'tcx>) -> ControlFlow<Self::BreakTy>
fn visit_binder<T>( &mut self, t: &<I as Interner>::Binder<T> ) -> ControlFlow<Self::BreakTy, ()>where T: TypeVisitable<I>, <I as Interner>::Binder<T>: TypeSuperVisitable<I>,
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for MentionsTy<'tcx>
impl<'tcx> !Send for MentionsTy<'tcx>
impl<'tcx> !Sync for MentionsTy<'tcx>
impl<'tcx> Unpin for MentionsTy<'tcx>
impl<'tcx> !UnwindSafe for MentionsTy<'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: 8 bytes