cairo_lang_syntax::node::helpers

Trait OptionWrappedGenericParamListHelper

source
pub trait OptionWrappedGenericParamListHelper {
    // Required method
    fn is_empty(&self, db: &dyn SyntaxGroup) -> bool;
}

Required Methods§

source

fn is_empty(&self, db: &dyn SyntaxGroup) -> bool

Checks whether there are 0 generic parameters. True either when the generic params clause doesn’t exist or when it’s empty

Implementors§