Trait rustdoc::clean::types::AttributesExt
source · pub(crate) trait AttributesExt {
type AttributeIterator<'a>: Iterator<Item = NestedMetaItem>
where Self: 'a;
// Required methods
fn lists<'a>(&'a self, name: Symbol) -> Self::AttributeIterator<'a>;
fn span(&self) -> Option<Span>;
fn cfg(
&self,
tcx: TyCtxt<'_>,
hidden_cfg: &FxHashSet<Cfg>
) -> Option<Arc<Cfg>>;
}