Skip to main content

HasLocalDecls

Trait HasLocalDecls 

Source
pub trait HasLocalDecls<'tcx> {
    // Required method
    fn local_decls(&self) -> &LocalDecls<'tcx>;
}

Required Methods§

Source

fn local_decls(&self) -> &LocalDecls<'tcx>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'tcx> HasLocalDecls<'tcx> for IndexVec<Local, LocalDecl<'tcx>>

Source§

fn local_decls(&self) -> &LocalDecls<'tcx>

Implementors§

Source§

impl<'tcx> HasLocalDecls<'tcx> for Body<'tcx>

Source§

impl<'tcx> HasLocalDecls<'tcx> for LocalDecls<'tcx>