cairo_lang_lowering::implicits

Trait FunctionImplicitsTrait

source
pub trait FunctionImplicitsTrait<'a>: Upcast<dyn LoweringGroup + 'a> {
    // Provided method
    fn function_with_body_implicits(
        &self,
        function: ConcreteFunctionWithBodyId,
    ) -> Maybe<Vec<TypeId>> { ... }
}
Expand description

A trait to add helper methods in LoweringGroup.

Provided Methods§

source

fn function_with_body_implicits( &self, function: ConcreteFunctionWithBodyId, ) -> Maybe<Vec<TypeId>>

Returns all the implicits used by a ConcreteFunctionWithBodyId.

Implementors§

source§

impl<'a, T: Upcast<dyn LoweringGroup + 'a> + ?Sized> FunctionImplicitsTrait<'a> for T