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