Skip to main content

MoveDatatypeTypeParameter

Declaration of a type parameter on a Move struct.

type MoveDatatypeTypeParameter {
constraints: [MoveAbility!]!
isPhantom: Boolean!
}

Fields

MoveDatatypeTypeParameter.constraints ● [MoveAbility!]! non-null enum

Ability constraints on this type parameter.

MoveDatatypeTypeParameter.isPhantom ● Boolean! non-null scalar

Whether this type parameter is marked phantom or not.

Phantom type parameters are not referenced in the struct's fields.

Member Of

IMoveDatatype interface ● MoveDatatype object ● MoveEnum object ● MoveStruct object