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 OrPat and should not be referenced directly.

Import path

import codeql.rust.elements.internal.generated.OrPat

Classes

OrPat

An or pattern. For example: rust match x { Option::Some(y) | Option::None => 0, } INTERNAL: Do not reference the Generated::OrPat class directly. Use the subclass OrPat, where the following predicates are available.