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

Module Generated

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

Import path

import codeql.rust.elements.internal.generated.RefPat

Classes

RefPat

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