Skip to main content

Tcx

Trait Tcx 

Source
pub trait Tcx<'tcx, 'o, 'a> {
    // Required method
    fn tcx(&'o self) -> TyCtxt<'tcx>;
}

Required Methods§

Source

fn tcx(&'o self) -> TyCtxt<'tcx>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§