pub trait MirVisitable<'tcx> {
    // Required method
    fn apply(&self, location: Location, visitor: &mut dyn Visitor<'tcx>);
}

Required Methods§

source

fn apply(&self, location: Location, visitor: &mut dyn Visitor<'tcx>)

Implementations on Foreign Types§

source§

impl<'tcx> MirVisitable<'tcx> for Option<Terminator<'tcx>>

source§

fn apply(&self, location: Location, visitor: &mut dyn Visitor<'tcx>)

Implementors§

source§

impl<'tcx> MirVisitable<'tcx> for Statement<'tcx>

source§

impl<'tcx> MirVisitable<'tcx> for Terminator<'tcx>