Enum fungi_lang::bitype::ValRule [−][src]
pub enum ValRule { HostObj, 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
HostObj
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]
impl DerRule for ValRule
fn term_desc() -> &'static str
[src]
fn term_desc() -> &'static str
short term family description
fn short(&self) -> &str
[src]
fn short(&self) -> &str
short name for rule
impl Clone for ValRule
[src]
impl Clone for ValRule
fn clone(&self) -> ValRule
[src]
fn clone(&self) -> ValRule
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ValRule
[src]
impl Debug for ValRule
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for ValRule
[src]
impl Eq for ValRule
impl PartialEq for ValRule
[src]
impl PartialEq for ValRule
fn eq(&self, other: &ValRule) -> bool
[src]
fn eq(&self, other: &ValRule) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ValRule) -> bool
[src]
fn ne(&self, other: &ValRule) -> bool
This method tests for !=
.
impl Hash for ValRule
[src]
impl Hash for ValRule
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
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]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl HasClas for ValRule
[src]
impl HasClas for ValRule