Skip to content

AnyPtrType

IsaacShelton edited this page Mar 21, 2022 · 1 revision

AnyPtrType

AnyPtrType represents the type for runtime type information of pointer types.

Specifications

Type Size Memory Management Model File
AnyPtrType 40 bytes None N/A

Definition

struct AnyPtrType(struct AnyType, subtype *AnyType)

where AnyType is defined as

struct AnyType (kind AnyTypeKind, name *ubyte, is_alias bool, size usize)

Fields

Name Overlaps AnyType Type Description
kind y AnyTypeKind What kind of type (AnyTypeKind::PTR)
name y *ubyte Human readable name of the type
is_alias y bool Whether the type is an alias
size y usize Size of the type in bytes
subtype *AnyType Type of subtype

Overlap

All *AnyPtrType values are also valid *AnyType values

Clone this wiki locally