Skip to main content

CheckTyInEnv

Trait CheckTyInEnv 

Source
trait CheckTyInEnv<'db> {
    type Output;

    // Required method
    async fn check_in_env(&self, env: &mut Env<'db>) -> Self::Output;
}
Expand description

Check an expression in a full environment. This is an async operation – it may block if insufficient inference data is available.

Required Associated Types§

Required Methods§

Source

async fn check_in_env(&self, env: &mut Env<'db>) -> Self::Output

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'db> CheckTyInEnv<'db> for AstGenericTerm<'db>

Source§

type Output = SymGenericTerm<'db>

Source§

async fn check_in_env(&self, env: &mut Env<'db>) -> Self::Output

Source§

impl<'db> CheckTyInEnv<'db> for AstPerm<'db>

Source§

type Output = SymPerm<'db>

Source§

async fn check_in_env(&self, env: &mut Env<'db>) -> Self::Output

Source§

impl<'db> CheckTyInEnv<'db> for AstTy<'db>

Source§

type Output = SymTy<'db>

Source§

async fn check_in_env(&self, env: &mut Env<'db>) -> Self::Output

Implementors§

Source§

impl<'db> CheckTyInEnv<'db> for SymTy<'db>

Source§

type Output = SymTy<'db>