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.