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

Module Generated

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

Import path

import codeql.rust.elements.internal.generated.LiteralPat

Classes

LiteralPat

A literal pattern. For example: rust match x { 42 => "ok", _ => "fail", } INTERNAL: Do not reference the Generated::LiteralPat class directly. Use the subclass LiteralPat, where the following predicates are available.