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

Class Raw::PtrTypeRepr

INTERNAL: Do not use. A pointer type.

For example:

let p: *const i32;
let q: *mut i32;
//     ^^^^^^^^^

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getTypeRepr

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

isConst

Holds if this ptr type representation is const.

isMut

Holds if this ptr type representation is mut.

toString