cairo_lang_plugins::plugins

Trait HasItemsInCfgEx

source
pub trait HasItemsInCfgEx<Item: QueryAttrs>: BodyItems<Item = Item> {
    // Required method
    fn iter_items_in_cfg<'a>(
        &self,
        db: &'a dyn SyntaxGroup,
        cfg_set: &'a CfgSet,
    ) -> ItemsInCfg<'a, Item> ;
}
Expand description

Extension trait for BodyItems filtering out items that are not included in the cfg.

Required Methods§

source

fn iter_items_in_cfg<'a>( &self, db: &'a dyn SyntaxGroup, cfg_set: &'a CfgSet, ) -> ItemsInCfg<'a, Item>

Implementors§

source§

impl<Item: QueryAttrs, Body: BodyItems<Item = Item>> HasItemsInCfgEx<Item> for Body