Enum sixtyfps_interpreter::ValueType[][src]

#[repr(i8)]
pub enum ValueType {
    Void,
    Number,
    String,
    Bool,
    Array,
    Model,
    Struct,
    Brush,
    Other,
}

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

Variants

Void

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

Number

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

String

Correspond to the string type in .60

Bool

Correspond to the bool type in .60

Array

An Array in the .60 language.

Model

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

Struct

An object

Brush

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

Other

The type is not a public type but something internal.

Trait Implementations

impl Clone for ValueType[src]

impl Copy for ValueType[src]

impl Debug for ValueType[src]

impl From<Type> for ValueType[src]

impl PartialEq<ValueType> for ValueType[src]

impl StructuralPartialEq for ValueType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.