Skip to main content

ToRedTy

Trait ToRedTy 

Source
pub trait ToRedTy<'db> {
    // Required method
    fn to_red_ty(&self, env: &mut Env<'db>) -> (RedTy<'db>, SymPerm<'db>);
}
Expand description

Convert something to a RedTy and an (optional) permission that is applied to that RedTy.

Required Methods§

Source

fn to_red_ty(&self, env: &mut Env<'db>) -> (RedTy<'db>, SymPerm<'db>)

Implementors§

Source§

impl<'db> ToRedTy<'db> for SymGenericTerm<'db>

Source§

impl<'db> ToRedTy<'db> for SymPerm<'db>

Source§

impl<'db> ToRedTy<'db> for SymTy<'db>