Function syntax::attr::mk_attr_innerUnstable
[-] [+]
[src]
pub fn mk_attr_inner(id: AttrId, item: P<MetaItem>) -> Attribute
Returns an inner attribute with the given value.
pub fn mk_attr_inner(id: AttrId, item: P<MetaItem>) -> Attribute
Returns an inner 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
).