scale_info/scale_info library

Classes

$FieldCodec
$PortableType
$PrimitiveCodec
$TypeDefArrayCodec
$TypeDefBitSequenceCodec
$TypeDefCodec
$TypeDefCompactCodec
$TypeDefCompositeCodec
$TypeDefPrimitiveCodec
A primitive Rust type.
$TypeDefSequenceCodec
$TypeDefTupleCodec
$TypeDefVariantCodec
$TypeMetadata
$TypeParameterCodec
$VariantCodec
Field
A field of a struct-like data type.
PortableType
Represent a type in it's portable form.
TypeDef
TypeDefArray
An array type.
TypeDefBitSequence
Type describing a `bitvec::vec::BitVec`.
TypeDefCompact
A type wrapped in `Compact`.
TypeDefComposite
A composite type, consisting of either named (struct) or unnamed (tuple struct) fields
TypeDefPrimitive
A primitive Rust type.
TypeDefSequence
A type to refer to a sequence of elements of the same type.
TypeDefTuple
A type to refer to tuple types.
TypeDefVariant
A Enum type (consisting of variants).
TypeIdCodec
TypeMetadata
A type definition with optional metadata.
TypeParameter
A generic type parameter.
Variant
A struct enum variant with either named (struct) or unnamed (tuple struct) fields.

Enums

Primitive

Functions

parseOption<T>(dynamic obj) → T?

Typedefs

TypeId = int