[][src]Struct gluon_base::types::ArcType

pub struct ArcType<Id = Symbol> { /* fields omitted */ }

A shared type which is atomically reference counted

Methods

impl<Id> ArcType<Id>
[src]

Returns the lowest level which this type contains. The level informs from where type variables where created.

Methods from Deref<Target = Type<Id, ArcType<Id>>>

Returns the name of self Example: Option a => Option Int => Int

Trait Implementations

impl<Id> Commented for ArcType<Id>
[src]

impl<Id> HasSpan for ArcType<Id>
[src]

impl<T> Shared for ArcType<T>
[src]

impl<Id> TypeExt for ArcType<Id>
[src]

Important traits for TypeFieldIterator<'a, T>

Returns an iterator over all type fields in a record. { Test, Test2, x, y } => [Test, Test2] Read more

Important traits for RowIterator<'a, T>

Returns an iterator over all fields in a record. { Test, Test2, x, y } => [x, y] Read more

Important traits for ForallScopeIter<'a, T>

Applies a list of arguments to a parameterised type, returning Some if the substitution was successful. Read more

impl<'a, I, A> ToDoc<'a, Arena<Doc<'a, RefDoc<'a, A>, A>>, A, ()> for ArcType<I> where
    I: AsRef<str>,
    A: Clone
[src]

impl<'a, I, A> ToDoc<'a, Arena<Doc<'a, RefDoc<'a, A>, A>>, A, &'a (dyn Source + 'a)> for ArcType<I> where
    I: AsRef<str>,
    A: Clone
[src]

impl TypeContextAlloc for ArcType
[src]

impl<Id> Default for ArcType<Id>
[src]

impl<Id: PartialEq> PartialEq<ArcType<Id>> for ArcType<Id>
[src]

impl<Id> From<Type<Id, ArcType<Id>>> for ArcType<Id>
[src]

impl<Id> Clone for ArcType<Id>
[src]

Performs copy-assignment from source. Read more

impl<Id: Eq> Eq for ArcType<Id>
[src]

impl<Id: AsRef<str>> Display for ArcType<Id>
[src]

impl<Id: Debug> Debug for ArcType<Id>
[src]

impl<Id> Pointer for ArcType<Id>
[src]

impl<Id: Hash> Hash for ArcType<Id>
[src]

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

impl<Id> Deref for ArcType<Id>
[src]

The resulting type after dereferencing.

impl<Id> Borrow<Type<Id, ArcType<Id>>> for ArcType<Id>
[src]

impl<Id> StableDeref for ArcType<Id>
[src]

impl<Id> SerializeState<SeSeed> for ArcType<Id> where
    Id: SerializeState<SeSeed>, 
[src]

impl<'de, Id> DeserializeState<'de, Seed<Id, ArcType<Id>>> for ArcType<Id> where
    Id: DeserializeState<'de, Seed<Id, ArcType<Id>>> + Clone + Any
[src]

Auto Trait Implementations

impl<Id> Send for ArcType<Id> where
    Id: Send + Sync

impl<Id> Sync for ArcType<Id> where
    Id: Send + Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]