Function syntax::attr::mk_attr_outerUnstable
[-] [+]
[src]
pub fn mk_attr_outer(id: AttrId, item: P<MetaItem>) -> Attribute
Returns an outer attribute with the given value.
pub fn mk_attr_outer(id: AttrId, item: P<MetaItem>) -> Attribute
Returns an outer attribute with the given value.
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).