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

Methods

impl<A: HasType> TypeInfo<A>
[src]

[src]

[src]

Trait Implementations

impl<TD: Clone + HasType> Clone for TypeInfo<TD> where
    TD::Type: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<TD: Debug + HasType> Debug for TypeInfo<TD> where
    TD::Type: Debug
[src]

[src]

Formats the value using the given formatter.

impl<TD: Eq + HasType> Eq for TypeInfo<TD> where
    TD::Type: Eq
[src]

impl<TD: PartialEq + HasType> PartialEq for TypeInfo<TD> where
    TD::Type: PartialEq
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<TD: Hash + HasType> Hash for TypeInfo<TD> where
    TD::Type: Hash
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more