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

Module Impl

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

Import path

import codeql.rust.elements.internal.FunctionImpl

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(); }