Function rustc::middle::ty::each_attr[src]

pub fn each_attr(tcx: &ctxt, did: DefId, f: |&Attribute| -> bool) -> bool

Iterate over attributes of a definition.