Skip to main content

TypingEnv

Trait TypingEnv 

Source
pub trait TypingEnv<I>:
    Copy
    + Clone
    + Debug
    + PartialEq
    + Eq
    + Hash
where I: Interner,
{ // Required methods fn fully_monomorphized() -> Self; fn layout_size(self, interner: I, ty: <I as Interner>::Ty) -> Size; }

Required Methods§

Source

fn fully_monomorphized() -> Self

Source

fn layout_size(self, interner: I, ty: <I as Interner>::Ty) -> Size

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<'tcx> TypingEnv<TyCtxt<'tcx>> for TypingEnv<'tcx>