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

Class Raw::ParenthesizedArgList

INTERNAL: Do not use. A parenthesized argument list as used in function traits.

For example:

fn call_with_42<F>(f: F) -> i32
where
    F: Fn(i32, String) -> i32,
//        ^^^^^^^^^^^
{
    f(42, "Don't panic".to_string())
}

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getNumberOfTypeArgs

Gets the number of type arguments of this parenthesized argument list.

getTypeArg

Gets the indexth type argument of this parenthesized argument list (0-based).

toString