pub enum LiveValue {
Show 31 variants None, Str(&'static str), DocumentString { string_start: usize, string_count: usize, }, FittedString(FittedString), InlineString(InlineString), Dependency { string_start: usize, string_count: usize, }, Bool(bool), Int64(i64), Float32(f32), Float64(f64), Color(u32), Vec2(Vec2), Vec3(Vec3), Vec4(Vec4), Id(LiveId), ExprBinOp(LiveBinOp), ExprUnOp(LiveUnOp), ExprMember(LiveId), ExprCall { ident: LiveId, args: usize, }, BareEnum(LiveId), Array, Expr { expand_index: Option<u32>, }, TupleEnum(LiveId), NamedEnum(LiveId), Object, Clone(LiveId), Class { live_type: LiveType, class_parent: Option<LivePtr>, }, Close, DSL { token_start: u32, token_count: u32, expand_index: Option<u32>, }, Import(LiveModuleId), Registry(LiveId),
}

Variants

None

Str(&'static str)

DocumentString

Fields

string_start: usize
string_count: usize

FittedString(FittedString)

InlineString(InlineString)

Dependency

Fields

string_start: usize
string_count: usize

Bool(bool)

Int64(i64)

Float32(f32)

Float64(f64)

Color(u32)

Vec2(Vec2)

Vec3(Vec3)

Vec4(Vec4)

Id(LiveId)

ExprBinOp(LiveBinOp)

ExprUnOp(LiveUnOp)

ExprMember(LiveId)

ExprCall

Fields

ident: LiveId
args: usize

BareEnum(LiveId)

Array

Expr

Fields

expand_index: Option<u32>

TupleEnum(LiveId)

NamedEnum(LiveId)

Object

Clone(LiveId)

Class

Fields

live_type: LiveType
class_parent: Option<LivePtr>

Close

DSL

Fields

token_start: u32
token_count: u32
expand_index: Option<u32>

Import(LiveModuleId)

Registry(LiveId)

Implementations

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.