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

Class Raw::Lifetime

INTERNAL: Do not use. A lifetime annotation.

For example:

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

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getText

Gets the text of this lifetime, if it exists.

toString