MoveTypeLayout

The shape of a concrete Move Type (a type with all its type parameters instantiated with concrete types), corresponding to the following recursive type:

type MoveTypeLayout = "address" | "bool" | "u8" | "u16" | ... | "u256" | { vector: MoveTypeLayout } | { struct: { type: string, fields: { name: string, layout: MoveTypeLayout }, } } | { enum: [{ type: string, variants: [{ name: string, fields: { name: string, layout: MoveTypeLayout }, }] }] }

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion