Function syntax::ext::deriving::primitive::expand_deriving_from_primitive[src]
pub fn expand_deriving_from_primitive(cx: &mut ExtCtxt, span: Span, mitem: Gc<MetaItem>, item: Gc<Item>, push: |Gc<Item>|)
pub fn expand_deriving_from_primitive(cx: &mut ExtCtxt, span: Span, mitem: Gc<MetaItem>, item: Gc<Item>, push: |Gc<Item>|)
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 (or str), enum,
trait, typedef (or
tdef).