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

Class Raw::LifetimeParam

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

For example:

fn foo<'a>(x: &'a str) {}
//     ^^

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getLifetime

Gets the lifetime of this lifetime parameter, if it exists.

getNumberOfAttrs

Gets the number of attrs of this lifetime parameter.

getTypeBoundList

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

toString