Enum llhd::value::Value [−][src]
pub enum Value {
Void,
Time(TimeValue),
Int(IntValue),
Array(ArrayValue),
Struct(StructValue),
}
Expand description
A value.
Variants
Time(TimeValue)
Tuple Fields of Time
0: TimeValue
Int(IntValue)
Tuple Fields of Int
0: IntValue
Array(ArrayValue)
Tuple Fields of Array
0: ArrayValue
Struct(StructValue)
Tuple Fields of Struct
0: StructValue
Implementations
Unwrap this value as a time, or panic.
Unwrap this value as an integer, or panic.
If this value is an array, access it.
Unwrap this value as an array, or panic.
If this value is a struct, access it.
Unwrap this value as a struct, or panic.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more