CodeQL library for Rust
codeql/rust-all 0.2.5-dev (changelog, source)
Search

Member predicate Impl::TuplePat::getTupleArity

Gets the arity of the tuple matched by this pattern, if any.

This is the number of fields in the tuple pattern if and only if the pattern does not contain a .. pattern.

int getTupleArity()