cairo_lang_syntax::node::helpers

Trait GenericParamEx

Source
pub trait GenericParamEx {
    // Required method
    fn name(&self, db: &dyn SyntaxGroup) -> Option<TerminalIdentifier>;
}

Required Methods§

Source

fn name(&self, db: &dyn SyntaxGroup) -> Option<TerminalIdentifier>

Returns the name of a generic param if one exists.

Implementors§