Enum ValueType

Enum Documentation

enum sixtyfps::interpreter::ValueType

This enum represents the different public variants of the [Value] enum, without the contained values.

Values:

enumerator Void

The variant that expresses the non-type. This is the default.

enumerator Number

An int or a float (this is also used for unit based type such as length or angle)

enumerator String

Correspond to the string type in .60.

enumerator Bool

Correspond to the bool type in .60.

enumerator Array

An Array in the .60 language.

enumerator Model

A more complex model which is not created by the interpreter itself (ValueType::Array can also be used for models)

enumerator Struct

An object.

enumerator Brush

Correspond to brush or color type in .60. For color, this is then a [Brush::SolidColor].

enumerator Image

Correspond to image type in .60.

enumerator Other

The type is not a public type but something internal.