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

Module Generated

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

Import path

import codeql.rust.elements.internal.generated.Function

Classes

Function

A function declaration. For example rust fn foo(x: u32) -> u64 {(x + 1).into()} A function declaration within a trait might not have a body: rust trait Trait { fn bar(); } INTERNAL: Do not reference the Generated::Function class directly. Use the subclass Function, where the following predicates are available.