Skip to content

slint::interpreter::ValueType

enum class ValueType
ValueDescription
VoidThe variant that expresses the non-type. This is the default.
NumberAn int or a float (this is also used for unit based type such as length or angle)
StringCorrespond to the string type in .slint.
BoolCorrespond to the bool type in .slint.
ModelA model (that includes array in .slint)
StructAn object.
BrushCorrespond to brush or color type in .slint. For color, this is then a [Brush::SolidColor].
ImageCorrespond to image type in .slint.
OtherThe type is not a public type but something internal.

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


© 2026 SixtyFPS GmbH