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
0: Numeric
String(String)
Tuple Fields
0: String
Boolean(bool)
Tuple Fields
0: bool
ExternalInstance(ExternalInstance)
Tuple Fields
Dictionary(Dictionary)
Tuple Fields
0: Dictionary
Pattern(Pattern)
Tuple Fields
0: Pattern
Call(Call)
Tuple Fields
0: Call
List(TermList)
Tuple Fields
0: TermList
Variable(Symbol)
Tuple Fields
0: Symbol
RestVariable(Symbol)
Tuple Fields
0: Symbol
Expression(Operation)
Tuple Fields
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