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

Class Raw::AsmConst

INTERNAL: Do not use. A constant operand in an inline assembly block.

For example:

use core::arch::asm;
asm!("mov eax, {const}", const 42);
//                       ^^^^^^^

Import path

import codeql.rust.elements.internal.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getExpr

Gets the expression of this asm const, if it exists.

isConst

Holds if this asm const is const.

toString