Struct rustc_hir_analysis::check::check::OpaqueTypeCollector
source · struct OpaqueTypeCollector {
opaques: Vec<DefId>,
closures: Vec<DefId>,
}Fields§
§opaques: Vec<DefId>§closures: Vec<DefId>Trait Implementations§
source§impl Default for OpaqueTypeCollector
impl Default for OpaqueTypeCollector
source§fn default() -> OpaqueTypeCollector
fn default() -> OpaqueTypeCollector
Returns the “default value” for a type. Read more
source§impl<'tcx> TypeVisitor<TyCtxt<'tcx>> for OpaqueTypeCollector
impl<'tcx> TypeVisitor<TyCtxt<'tcx>> for OpaqueTypeCollector
fn visit_ty(&mut self, t: Ty<'tcx>) -> ControlFlow<Self::BreakTy>
type 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 RefUnwindSafe for OpaqueTypeCollector
impl Send for OpaqueTypeCollector
impl Sync for OpaqueTypeCollector
impl Unpin for OpaqueTypeCollector
impl UnwindSafe for OpaqueTypeCollector
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: 48 bytes