Struct gluon_base::types::TypeCache[][src]

pub struct TypeCache<Id, T> {
    pub kind_cache: KindCache,
    pub hole: T,
    pub opaque: T,
    pub int: T,
    pub byte: T,
    pub float: T,
    pub string: T,
    pub char: T,
    pub function_builtin: T,
    pub array_builtin: T,
    pub unit: T,
    pub empty_row: T,
    // some fields omitted
}

Fields

Methods

impl<Id, T> TypeCache<Id, T> where
    T: From<Type<Id, T>> + Clone
[src]

impl<Id, T> TypeCache<Id, T> where
    T: From<Type<Id, T>> + Clone
[src]

Trait Implementations

impl<Id: Debug, T: Debug> Debug for TypeCache<Id, T>
[src]

Formats the value using the given formatter. Read more

impl<Id: Clone, T: Clone> Clone for TypeCache<Id, T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Id, T> Default for TypeCache<Id, T> where
    T: From<Type<Id, T>> + Clone
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<Id, T> Send for TypeCache<Id, T> where
    Id: Send,
    T: Send

impl<Id, T> Sync for TypeCache<Id, T> where
    Id: Sync,
    T: Sync