web3-polkadot-1.0.1.0: Polkadot support for Haskell Web3 library.
CopyrightAleksandr Krupenkin 2016-2024
LicenseApache-2.0
Maintainermail@akru.me
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.Polkadot.Metadata.Type.Ast

Description

Runtime metadata type AST.

Synopsis

Documentation

type QSelf = (TypeAst, TypeAst) Source #

Qualified type parameter, e.g., Vec<T as SomeTrait>::SomeType.

type PathSegment = (Text, Maybe [TypeAst]) Source #

A segment of a path: an identifier and a set of argument types.

data TypeAst Source #

Simple Rust type AST is used for Metadata type representation.

Constructors

Slice !TypeAst

A variable-length slice ([T]).

Tuple ![TypeAst]

A tuple ((A, B, C, D,...)).

Array !TypeAst !Int

A fixed length array ([T; n]).

Path 

Fields