[][src]Struct gluon::compiler_pipeline::TypecheckValue

pub struct TypecheckValue<E> {
    pub expr: E,
    pub typ: ArcType,
    pub metadata_map: FnvMap<Symbol, Arc<Metadata>>,
    pub metadata: Arc<Metadata>,
}

Result type of successful typechecking

Fields

expr: Etyp: ArcTypemetadata_map: FnvMap<Symbol, Arc<Metadata>>metadata: Arc<Metadata>

Implementations

impl<E> TypecheckValue<E>[src]

pub fn map<F>(self, f: impl FnOnce(E) -> F) -> TypecheckValue<F>[src]

Trait Implementations

impl<E: Clone> Clone for TypecheckValue<E>[src]

impl<E, Extra> Compileable<Extra> for TypecheckValue<E> where
    E: Borrow<OwnedExpr<Symbol>> + Send + Sync,
    Extra: Send
[src]

type Expr = E

impl<'e, E, Extra> Compileable<Extra> for &'e TypecheckValue<E> where
    E: Borrow<OwnedExpr<Symbol>> + Send + Sync,
    Extra: Send
[src]

type Expr = &'e E

impl<E: Debug> Debug for TypecheckValue<E>[src]

impl<E: Eq> Eq for TypecheckValue<E>[src]

impl<E: PartialEq> PartialEq<TypecheckValue<E>> for TypecheckValue<E>[src]

impl<E> StructuralEq for TypecheckValue<E>[src]

impl<E> StructuralPartialEq for TypecheckValue<E>[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for TypecheckValue<E> where
    E: RefUnwindSafe

impl<E> Send for TypecheckValue<E> where
    E: Send

impl<E> Sync for TypecheckValue<E> where
    E: Sync

impl<E> Unpin for TypecheckValue<E> where
    E: Unpin

impl<E> UnwindSafe for TypecheckValue<E> where
    E: UnwindSafe

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<'_, T> Captures<'_> for T[src]

impl<T> CloneAny for T where
    T: Clone + Any

impl<'a, 'b, T> Compileable<Option<&'b ArcType<Symbol>>> for T where
    T: Typecheckable + Send,
    <T as Typecheckable>::Expr: Send,
    <T as Typecheckable>::Expr: Sync
[src]

type Expr = <T as Typecheckable>::Expr

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices

type Remainder = Choices

impl<T> Downcast for T where
    T: Any

impl<T> DowncastArc for T where
    T: Downcast + Send + Sync
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<'vm, C, Extra> Executable<'vm, Extra> for C where
    C: Compileable<Extra> + Send,
    Extra: Send,
    <C as Compileable<Extra>>::Expr: Send,
    <C as Compileable<Extra>>::Expr: 'vm, 
[src]

type Expr = <C as Compileable<Extra>>::Expr

impl<T> From<T> for T[src]

impl<D, T> FromPtr<D> for T[src]

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

impl<T, U, I> LiftInto<U, I> for T where
    U: LiftFrom<T, I>, 

impl<Source> Sculptor<HNil, HNil> for Source

type Remainder = Source

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,