Trait rustc::ty::fold::TypeVisitor [] [src]

pub trait TypeVisitor<'tcx>: Sized {
    fn visit_binder<T: TypeFoldable<'tcx>>(&mut self, t: &Binder<T>) -> bool { ... }
    fn visit_ty(&mut self, t: Ty<'tcx>) -> bool { ... }
    fn visit_region(&mut self, r: Region) -> bool { ... }
}
Unstable (rustc_private)

Provided Methods

fn visit_binder<T: TypeFoldable<'tcx>>(&mut self, t: &Binder<T>) -> bool

Unstable (rustc_private)

fn visit_ty(&mut self, t: Ty<'tcx>) -> bool

Unstable (rustc_private)

fn visit_region(&mut self, r: Region) -> bool

Unstable (rustc_private)

Implementors