Trait rustc_ty_utils::sig_types::SpannedTypeVisitor

source ·
pub trait SpannedTypeVisitor<'tcx> {
    type Result: VisitorResult = ();

    // Required method
    fn visit(
        &mut self,
        span: Span,
        value: impl TypeVisitable<TyCtxt<'tcx>>
    ) -> Self::Result;
}

Provided Associated Types§

Required Methods§

source

fn visit( &mut self, span: Span, value: impl TypeVisitable<TyCtxt<'tcx>> ) -> Self::Result

Object Safety§

This trait is not object safe.

Implementors§