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

Module Impl

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

Import path

import codeql.rust.elements.internal.SelfParamImpl

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) {} }