pub enum Form<'t> {
}Expand description
What a value of a type is made of.
Variants§
Scalar(Scalar)
A scalar.
Text
Text.
Bytes
Bytes.
Host
A host type, whose values are the host’s tokens.
List(&'t Type)
List<T>, of this element type.
Set(&'t Type)
Set<T>, of this element type.
Dict(&'t Type, &'t Type)
Dict<K, V>, of these key and value types.
Tuple(&'t [Type])
A tuple, of these part types in order.
Record(RecordForm<'t>)
A record.
Enum(EnumForm<'t>)
An enum, Option and json.Value included.
Newtype(Type, Option<StdForm>)
A newtype, written exactly as its base, this type with the
newtype’s arguments in place (abi.md, Each type), and the form
its values are held to when it is a std type that has one: a value
out of that form is neither written nor read (abi.md, Decoding).
Task(&'t Type)
task.Task<T>, of this result type, which has no encoding outside a
checkpoint’s arguments.
Never
Never, which has no values.
NoEncoding
A type with no encoding: a function, a nondata declaration, an unbound type parameter, or an incomplete type.