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

Module Builtins

Provides classes for builtins.

Import path

import codeql.rust.frameworks.stdlib.Builtins

Classes

ArrayType

The builtin array type [T; N].

Bool

The builtin bool type.

BuiltinType

A builtin type, such as bool and i32.

BuiltinsFolder

The folder containing builtins.

Char

The builtin char type.

F32

The builtin f32 type.

F64

The builtin f64 type.

FloatingPointType

A floating-point numerical type, such as f32 or f64.

I128

The builtin i128 type.

I16

The builtin i16 type.

I32

The builtin i32 type.

I64

The builtin i64 type.

I8

The builtin i8 type.

IntegralType

An integral numerical type, such as i64 or usize.

Isize

The builtin isize type.

NumericType

A numerical type, such as i64, usize, f32 or f64.

PtrConstType

The builtin raw pointer type *const T.

PtrMutType

The builtin raw pointer type *mut T.

PtrType

A builtin raw pointer type *const T or *mut T.

RefMutType

The builtin mutable reference type &mut T.

RefSharedType

The builtin shared reference type &T.

RefType

A builtin reference type &T or &mut T.

SliceType

The builtin slice type [T].

Str

The builtin str type.

TupleType

A builtin tuple type (T1, T2, ...).

U128

The builtin u128 type.

U16

The builtin u16 type.

U32

The builtin u32 type.

U64

The builtin u64 type.

U8

The builtin u8 type.

Usize

The builtin usize type.