Trait SigChecker

Source
pub trait SigChecker: TyCtx {
    // Required method
    fn check(
        &mut self,
        sig: Sig<'_>,
        args: &mut SigCheckContext,
        pol: bool,
    ) -> Option<()>;
}
Expand description

A trait to check a signature.

Required Methods§

Source

fn check( &mut self, sig: Sig<'_>, args: &mut SigCheckContext, pol: bool, ) -> Option<()>

Checks the signature.

Implementors§

Source§

impl<T> SigChecker for ApplySigChecker<'_, T>
where T: ApplyChecker,