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

Module StructPat

This module provides the public class StructPat.

Import path

import codeql.rust.elements.StructPat

Imports

Pat

This module provides the public class Pat.

PathAstNode

This module provides the public class PathAstNode.

StructPatFieldList

This module provides the public class StructPatFieldList.

Aliases

StructPat

A struct pattern. For example: rust match x { Foo { a: 1, b: 2 } => "ok", Foo { .. } => "fail", }