Enum fungi_lang::ast::Val
[−]
[src]
pub enum Val { Var(Var), Unit, Pair(ValRec, ValRec), Inj1(ValRec), Inj2(ValRec), Roll(ValRec), Name(Name), NameFn(NameTm), Anno(ValRec, Type), ThunkAnon(ExpRec), Bool(bool), Nat(usize), Str(String), NoParse(String), }
Value terms
Variants
Var(Var)
Unit
Pair(ValRec, ValRec)
Inj1(ValRec)
Inj2(ValRec)
Roll(ValRec)
Name(Name)
NameFn(NameTm)
Anno(ValRec, Type)
ThunkAnon(ExpRec)
Bool(bool)
Primitive (Rust) bool
, injected into Val
type
Nat(usize)
Primitive (Rust) usize
, injected into Val
type
Str(String)
Primitive (Rust) String
, injected into Val
type
NoParse(String)
Trait Implementations
impl Clone for Val
[src]
fn clone(&self) -> Val
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Val
[src]
impl Eq for Val
[src]
impl PartialEq for Val
[src]
fn eq(&self, __arg_0: &Val) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Val) -> bool
[src]
This method tests for !=
.