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

Module Generated

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

Import path

import codeql.rust.elements.internal.generated.RangePat

Classes

RangePat

A range pattern. For example: rust match x { ..15 => "too cold", 16..=25 => "just right", 26.. => "too hot", } INTERNAL: Do not reference the Generated::RangePat class directly. Use the subclass RangePat, where the following predicates are available.