Function rustc::middle::trans::adt::num_args[src]
pub fn num_args(r: &Repr, discr: Disr) -> uint
The number of fields in a given case; for use when obtaining this information from the type or definition is less convenient.
pub fn num_args(r: &Repr, discr: Disr) -> uint
The number of fields in a given case; for use when obtaining this information from the type or definition is less convenient.
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).