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

Class Raw::UseBoundGenericArgs

INTERNAL: Do not use. A use<..> bound to control which generic parameters are captured by an impl Trait return type.

For example:

pub fn hello<'a, T, const N: usize>() -> impl Sized + use<'a, T, N> { 0 }
//                                                        ^^^^^^^^

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getNumberOfUseBoundGenericArgs

Gets the number of use bound generic arguments of this use bound generic arguments.

getUseBoundGenericArg

Gets the indexth use bound generic argument of this use bound generic arguments (0-based).

toString