Function rustc_lint::middle::ty::struct_fieldsUnstable
[-] [+]
[src]
pub fn struct_fields(cx: &ctxt<'tcx>, did: DefId, substs: &Substs<'tcx>) -> Vec<field<'tcx>>
pub fn struct_fields(cx: &ctxt<'tcx>, did: DefId, substs: &Substs<'tcx>) -> Vec<field<'tcx>>
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).