Enum polar_core::terms::Value [−][src]
pub enum Value {
Number(Numeric),
String(String),
Boolean(bool),
ExternalInstance(ExternalInstance),
Dictionary(Dictionary),
Pattern(Pattern),
Call(Call),
List(TermList),
Variable(Symbol),
RestVariable(Symbol),
Expression(Operation),
}
Variants
Number(Numeric)
Tuple Fields of Number
0: Numeric
String(String)
Tuple Fields of String
0: String
Boolean(bool)
Tuple Fields of Boolean
0: bool
ExternalInstance(ExternalInstance)
Tuple Fields of ExternalInstance
Dictionary(Dictionary)
Tuple Fields of Dictionary
0: Dictionary
Pattern(Pattern)
Tuple Fields of Pattern
0: Pattern
Call(Call)
Tuple Fields of Call
0: Call
List(TermList)
Tuple Fields of List
0: TermList
Variable(Symbol)
Tuple Fields of Variable
0: Symbol
RestVariable(Symbol)
Tuple Fields of RestVariable
0: Symbol
Expression(Operation)
Tuple Fields of Expression
0: Operation
Implementations
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.
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more