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

Class Raw::AssocTypeArg

INTERNAL: Do not use. An associated type argument in a path.

For example:

fn process_cloneable<T>(iter: T)
where
    T: Iterator<Item: Clone>
//              ^^^^^^^^^^^
{
    // ...
}

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getConstArg

Gets the const argument of this assoc type argument, if it exists.

getGenericArgList

Gets the generic argument list of this assoc type argument, if it exists.

getIdentifier

Gets the identifier of this assoc type argument, if it exists.

getParamList

Gets the parameter list of this assoc type argument, if it exists.

getRetType

Gets the ret type of this assoc type argument, if it exists.

getReturnTypeSyntax

Gets the return type syntax of this assoc type argument, if it exists.

getTypeBoundList

Gets the type bound list of this assoc type argument, if it exists.

getTypeRepr

Gets the type representation of this assoc type argument, if it exists.

toString