Struct fungi_lang::bitype::TypeInfo
[−]
[src]
pub struct TypeInfo<TD: HasType> { pub dir: Dir, pub ctxt: TCtxt, pub typ: Result<TD::Type, TypeError>, pub node: Rc<TD>, }
Fields
dir: Dir
ctxt: TCtxt
typ: Result<TD::Type, TypeError>
node: Rc<TD>
Methods
impl<A: HasType> TypeInfo<A>
[src]
Trait Implementations
impl<TD: Clone + HasType> Clone for TypeInfo<TD> where
TD::Type: Clone,
[src]
TD::Type: Clone,
fn clone(&self) -> TypeInfo<TD>
[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<TD: Debug + HasType> Debug for TypeInfo<TD> where
TD::Type: Debug,
[src]
TD::Type: Debug,
impl<TD: Eq + HasType> Eq for TypeInfo<TD> where
TD::Type: Eq,
[src]
TD::Type: Eq,
impl<TD: PartialEq + HasType> PartialEq for TypeInfo<TD> where
TD::Type: PartialEq,
[src]
TD::Type: PartialEq,
fn eq(&self, __arg_0: &TypeInfo<TD>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TypeInfo<TD>) -> bool
[src]
This method tests for !=
.
impl<TD: Hash + HasType> Hash for TypeInfo<TD> where
TD::Type: Hash,
[src]
TD::Type: Hash,