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

Module FormatArgument

This module provides the public class FormatArgument.

Import path

import codeql.rust.elements.FormatArgument

Imports

Format

This module provides the public class Format.

FormatTemplateVariableAccess

This module provides the public class FormatTemplateVariableAccess.

Locatable

This module provides the public class Locatable.

Aliases

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