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
Tuple Fields of Number
0: Numeric
Tuple Fields of String
0: String
Tuple Fields of Boolean
0: bool
Tuple Fields of ExternalInstance
Tuple Fields of Dictionary
0: Dictionary
Tuple Fields of Pattern
0: Pattern
Tuple Fields of Call
0: Call
Tuple Fields of List
0: TermList
Tuple Fields of Variable
0: Symbol
Tuple Fields of RestVariable
0: Symbol
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
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more