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

Module Generated

INTERNAL: This module contains the fully generated definition of IdentPat and should not be referenced directly.

Import path

import codeql.rust.elements.internal.generated.IdentPat

Classes

IdentPat

A binding pattern. For example: rust match x { Option::Some(y) => y, Option::None => 0, }; rust match x { y@Option::Some(_) => y, Option::None => 0, }; INTERNAL: Do not reference the Generated::IdentPat class directly. Use the subclass IdentPat, where the following predicates are available.