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

Module Generated

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

Import path

import codeql.rust.elements.internal.generated.FormatArgument

Classes

FormatArgument

An argument in a format element in a formatting template. For example the width, precision, and value in: rust println!("Value {value:#width$.precision$}"); or the 0, 1 and 2 in: rust println!("Value {0:#1$.2$}", value, width, precision); INTERNAL: Do not reference the Generated::FormatArgument class directly. Use the subclass FormatArgument, where the following predicates are available.