pub trait HasItemsInCfgEx<'a, Item: QueryAttrs<'a>>: BodyItems<'a, Item = Item> {
// Required method
fn iter_items_in_cfg(
&self,
db: &'a dyn Database,
cfg_set: &CfgSet,
) -> impl Iterator<Item = Item>;
}Expand description
Extension trait for BodyItems filtering out items that are not included in the cfg.
Required Methods§
fn iter_items_in_cfg( &self, db: &'a dyn Database, cfg_set: &CfgSet, ) -> impl Iterator<Item = Item>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.