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

Class Raw::TypeParam

INTERNAL: Do not use. A type parameter in a generic parameter list.

For example:

fn foo<T>(t: T) {}
//     ^

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

Gets the indexth attr of this type parameter (0-based).

getDefaultType

Gets the default type of this type parameter, if it exists.

getName

Gets the name of this type parameter, if it exists.

getNumberOfAttrs

Gets the number of attrs of this type parameter.

getTypeBoundList

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

toString