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

Class Raw::RestPat

INTERNAL: Do not use. A rest pattern (..) in a tuple, slice, or struct pattern.

For example:

let (a, .., z) = (1, 2, 3);
//      ^^

Import path

import codeql.rust.elements.internal.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getAttr

Gets the indexth attr of this rest pattern (0-based).

getNumberOfAttrs

Gets the number of attrs of this rest pattern.

toString