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§