cairo_lang_semantic::db

Trait Elongate

source
pub trait Elongate {
    // Required method
    fn elongate(&self) -> &(dyn SemanticGroup + 'static);
}
Expand description

Helper trait to make sure we can always get a dyn SemanticGroup + 'static from a SemanticGroup.

Required Methods§

source

fn elongate(&self) -> &(dyn SemanticGroup + 'static)

Implementors§

source§

impl<T: Upcast<dyn SemanticGroup + 'static>> Elongate for T