Enum calcit_runner::primes::Calcit [−][src]
pub enum Calcit {
Show 19 variants
Nil,
Bool(bool),
Number(f64),
Symbol(Box<str>, Box<str>, Box<str>, Option<Box<SymbolResolved>>),
Keyword(EdnKwd),
Str(Box<str>),
Thunk(Box<Calcit>, Option<Box<Calcit>>),
Ref(Box<str>),
Tuple(Box<Calcit>, Box<Calcit>),
Buffer(Vec<u8>),
Recur(CalcitItems),
List(CalcitItems),
Set(HashTrieSetSync<Calcit>),
Map(HashTrieMapSync<Calcit, Calcit>),
Record(EdnKwd, Vec<EdnKwd>, Vec<Calcit>),
Proc(Box<str>),
Macro(Box<str>, Box<str>, Box<str>, Box<CalcitItems>, Box<CalcitItems>),
Fn(Box<str>, Box<str>, Box<str>, CalcitScope, Box<CalcitItems>, Box<CalcitItems>),
Syntax(CalcitSyntax, Box<str>),
}
Variants
Bool(bool)
Tuple Fields of Bool
0: bool
Number(f64)
Tuple Fields of Number
0: f64
Keyword(EdnKwd)
Tuple Fields of Keyword
0: EdnKwd
holding a path to its state
more tagged union type, more like an internal structure
to be used by FFIs
Recur(CalcitItems)
not for data, but for recursion
Tuple Fields of Recur
0: CalcitItems
List(CalcitItems)
Tuple Fields of List
0: CalcitItems
Set(HashTrieSetSync<Calcit>)
Tuple Fields of Set
Map(HashTrieMapSync<Calcit, Calcit>)
Tuple Fields of Map
0: HashTrieMapSync<Calcit, Calcit>
Macro(Box<str>, Box<str>, Box<str>, Box<CalcitItems>, Box<CalcitItems>)
Tuple Fields of Macro
Fn(Box<str>, Box<str>, Box<str>, CalcitScope, Box<CalcitItems>, Box<CalcitItems>)
Tuple Fields of Fn
Syntax(CalcitSyntax, Box<str>)
Tuple Fields of Syntax
0: CalcitSyntax
1: Box<str>
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Calcit
impl UnwindSafe for Calcit
Blanket Implementations
Mutably borrows from an owned value. Read more