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§