pub enum Value {
Show 13 variants Bool(bool), U8(u8), I8(i8), U16(u16), I16(i16), U32(u32), I32(i32), U64(u64), I64(i64), F32(f32), F64(f64), String(String), TypeDef(TypeDef),
}

Variants

Bool(bool)

U8(u8)

I8(i8)

U16(u16)

I16(i16)

U32(u32)

I32(i32)

U64(u64)

I64(i64)

F32(f32)

F64(f64)

String(String)

TypeDef(TypeDef)

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 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.