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