Skip to main content

TypingEnv

Trait TypingEnv 

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

Required Methods§

Source

fn fully_monomorphized() -> Self

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§