Function rustc_typeck::middle::ty::trait_impl_polarityUnstable
[-] [+]
[src]
pub fn trait_impl_polarity(cx: &ctxt<'tcx>, id: DefId) -> Option<ImplPolarity>
pub fn trait_impl_polarity(cx: &ctxt<'tcx>, id: DefId) -> Option<ImplPolarity>
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
).