cairo_lang_lowering::panic

Trait MayPanicTrait

Source
pub trait MayPanicTrait<'a>: Upcast<dyn LoweringGroup + 'a> {
    // Provided method
    fn function_with_body_may_panic(
        &self,
        function: ConcreteFunctionWithBodyId,
    ) -> Maybe<bool> { ... }
}
Expand description

A trait to add helper methods in LoweringGroup.

Provided Methods§

Implementors§

Source§

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