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

Module LiteralPat

This module provides the public class LiteralPat.

Import path

import codeql.rust.elements.LiteralPat

Imports

LiteralExpr

This module provides the public class LiteralExpr.

Pat

This module provides the public class Pat.

Aliases

LiteralPat

A literal pattern. For example: rust match x { 42 => "ok", _ => "fail", }