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

Class Raw::RefTypeRepr

INTERNAL: Do not use. A reference type.

For example:

let r: &i32;
let m: &mut i32;
//     ^^^^^^^^

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getLifetime

Gets the lifetime of this reference type representation, if it exists.

getTypeRepr

Gets the type representation of this reference type representation, if it exists.

isMut

Holds if this reference type representation is mut.

toString