Enum fungi_lang::bitype::DeclRule [−][src]
pub enum DeclRule { UseAll(UseAllModuleDer), NmTm(String, NmTmDer), IdxTm(String, IdxTmDer), Type(String, Type), Val(String, ValDer), Fn(String, ValDer), }
Module declaration typing rule
Variants
UseAll(UseAllModuleDer)
NmTm(String, NmTmDer)
IdxTm(String, IdxTmDer)
Type(String, Type)
Val(String, ValDer)
Fn(String, ValDer)
Trait Implementations
impl DerRule for DeclRule
[src]
impl DerRule for DeclRule
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 DeclRule
[src]
impl Clone for DeclRule
fn clone(&self) -> DeclRule
[src]
fn clone(&self) -> DeclRule
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 DeclRule
[src]
impl Debug for DeclRule
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 DeclRule
[src]
impl Eq for DeclRule
impl PartialEq for DeclRule
[src]
impl PartialEq for DeclRule
fn eq(&self, other: &DeclRule) -> bool
[src]
fn eq(&self, other: &DeclRule) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DeclRule) -> bool
[src]
fn ne(&self, other: &DeclRule) -> bool
This method tests for !=
.
impl Hash for DeclRule
[src]
impl Hash for DeclRule
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 DeclRule
[src]
impl HasClas for DeclRule