Enum sixtyfps_interpreter::ValueType [−][src]
#[repr(i8)]
pub enum ValueType {
Void,
Number,
String,
Bool,
Array,
Model,
Struct,
Brush,
Image,
Other,
}
Expand description
This enum represents the different public variants of the Value
enum, without
the contained values.
Variants
The variant that expresses the non-type. This is the default.
An int
or a float
(this is also used for unit based type such as length
or angle
)
Correspond to the string
type in .60
Correspond to the bool
type in .60
An Array in the .60 language.
A more complex model which is not created by the interpreter itself (ValueType::Array can also be used for models)
An object
Correspond to brush
or color
type in .60. For color, this is then a Brush::SolidColor
Correspond to image
type in .60.
The type is not a public type but something internal.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ValueType
impl UnwindSafe for ValueType
Blanket Implementations
Mutably borrows from an owned value. Read more