Struct fungi_lang::bitype::ModuleDer
[−]
[src]
pub struct ModuleDer { pub ast: Rc<Module>, pub tds: Vec<ItemRule>, pub ctx_out: Ctx, }
Module typing derivation
Fields
ast: Rc<Module>
untyped AST of the module
tds: Vec<ItemRule>
typing sub-derivations for each module item: each ModuleVar
is unique
ctx_out: Ctx
the context exported by this module to modules that use it
Trait Implementations
impl Clone for ModuleDer
[src]
fn clone(&self) -> ModuleDer
[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 ModuleDer
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for ModuleDer
[src]
impl PartialEq for ModuleDer
[src]
fn eq(&self, __arg_0: &ModuleDer) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ModuleDer) -> bool
[src]
This method tests for !=
.