Enum fungi_lang::bitype::ValRule
[−]
[src]
pub enum ValRule { Var(Var), Unit, Pair(ValDer, ValDer), Inj1(ValDer), Inj2(ValDer), Roll(ValDer), Pack(IdxTmDer, ValDer), Name(Name), NameFn(NmTmDer), Anno(ValDer, Type), ThunkAnon(Der<ExpRule>), Bool(bool), Nat(usize), Str(String), NoParse(String), }
Value typing rule
Variants
Var(Var)
Unit
Pair(ValDer, ValDer)
Inj1(ValDer)
Inj2(ValDer)
Roll(ValDer)
Pack(IdxTmDer, ValDer)
Name(Name)
NameFn(NmTmDer)
Anno(ValDer, Type)
ThunkAnon(Der<ExpRule>)
Bool(bool)
Nat(usize)
Str(String)
NoParse(String)
Trait Implementations
impl DerRule for ValRule
[src]
fn term_desc() -> &'static str
[src]
short term family description
fn short(&self) -> &str
[src]
short name for rule
impl Clone for ValRule
[src]
fn clone(&self) -> ValRule
[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 ValRule
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for ValRule
[src]
impl PartialEq for ValRule
[src]
fn eq(&self, __arg_0: &ValRule) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ValRule) -> bool
[src]
This method tests for !=
.
impl Hash for ValRule
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more