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

Module Generated

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

Import path

import codeql.rust.elements.internal.generated.SelfParam

Classes

SelfParam

A self parameter. For example self in: rust struct X; impl X { fn one(&self) {} fn two(&mut self) {} fn three(self) {} fn four(mut self) {} fn five<'a>(&'a self) {} } INTERNAL: Do not reference the Generated::SelfParam class directly. Use the subclass SelfParam, where the following predicates are available.