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

Class Raw::FnPtrTypeRepr

INTERNAL: Do not use. A function pointer type.

For example:

let f: fn(i32) -> i32;
//     ^^^^^^^^^^^^^^

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAbi

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

getParamList

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

getRetType

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

isAsync

Holds if this fn ptr type representation is async.

isConst

Holds if this fn ptr type representation is const.

isUnsafe

Holds if this fn ptr type representation is unsafe.

toString