[][src]Struct gluon::compiler_pipeline::MacroValue

pub struct MacroValue<E> {
    pub expr: E,
}

Result type of successful macro expansion

Fields

expr: E

Trait Implementations

impl<E> Renameable for MacroValue<E> where
    E: BorrowMut<SpannedExpr<Symbol>>, 
[src]

type Expr = E

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

impl<T> Renameable for T where
    T: MacroExpandable
[src]

type Expr = <T as MacroExpandable>::Expr

impl<T> MetadataExtractable for T where
    T: Renameable
[src]

type Expr = <T as Renameable>::Expr

impl<T> InfixReparseable for T where
    T: MetadataExtractable
[src]

type Expr = <T as MetadataExtractable>::Expr

impl<T> Typecheckable for T where
    T: InfixReparseable
[src]

type Expr = <T as InfixReparseable>::Expr

fn typecheck(
    self,
    compiler: &mut Compiler,
    thread: &Thread,
    file: &str,
    expr_str: &str
) -> Result<TypecheckValue<Self::Expr>>
[src]

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

type Expr = <T as Typecheckable>::Expr

impl<'vm, C, Extra> Executable<'vm, Extra> for C where
    C: Compileable<Extra>,
    <C as Compileable<Extra>>::Expr: BorrowMut<Spanned<Expr<Symbol>, ByteIndex>>,
    <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<T, U> Into<U> for T where
    U: From<T>, 
[src]

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Any for T where
    T: Any

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

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

type Remainder = Choices

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

type Remainder = Source

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

impl<T> Any for T where
    T: Any