foreignStructType(name, x)
To construct a foreign struct type, specify a name and a list of the members. Each member should be an Option of the form memberName => memberType, where memberName is a String and memberType is a ForeignType.
|
The object foreignStructType is a method function.