[−][src]Struct gluon::compiler_pipeline::CompileValue
Result of successful compilation
Fields
expr: E
typ: ArcType
metadata: Arc<Metadata>
module: CompiledModule
Trait Implementations
impl<'vm, E> Executable<'vm, ()> for CompileValue<E> where
E: BorrowMut<SpannedExpr<Symbol>> + Send + 'vm,
[src]
E: BorrowMut<SpannedExpr<Symbol>> + Send + 'vm,
type Expr = E
fn run_expr<T>(
self,
compiler: &mut Compiler,
vm: T,
name: &str,
_expr_str: &str,
_: ()
) -> BoxFuture<'vm, ExecuteValue<RootedThread, Self::Expr>, Error> where
T: Send + VmRoot<'vm>,
[src]
self,
compiler: &mut Compiler,
vm: T,
name: &str,
_expr_str: &str,
_: ()
) -> BoxFuture<'vm, ExecuteValue<RootedThread, Self::Expr>, Error> where
T: Send + VmRoot<'vm>,
fn load_script<T>(
self,
compiler: &mut Compiler,
vm: T,
filename: &str,
expr_str: &str,
_: ()
) -> BoxFuture<'vm, (), Error> where
T: Send + VmRoot<'vm>,
[src]
self,
compiler: &mut Compiler,
vm: T,
filename: &str,
expr_str: &str,
_: ()
) -> BoxFuture<'vm, (), Error> where
T: Send + VmRoot<'vm>,
Auto Trait Implementations
impl<E> Sync for CompileValue<E> where
E: Sync,
E: Sync,
impl<E> Unpin for CompileValue<E> where
E: Unpin,
E: Unpin,
impl<E> Send for CompileValue<E> where
E: Send,
E: Send,
impl<E> !UnwindSafe for CompileValue<E>
impl<E> !RefUnwindSafe for CompileValue<E>
Blanket Implementations
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]
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,
type Expr = <C as Compileable<Extra>>::Expr
fn run_expr<T>(
Self,
&mut Compiler,
T,
&str,
&str,
Extra
) -> Box<dyn Future<Error = Error, Item = ExecuteValue<RootedThread, <C as Executable<'vm, Extra>>::Expr>> + 'vm + Send> where
T: Send + VmRoot<'vm>,
[src]
Self,
&mut Compiler,
T,
&str,
&str,
Extra
) -> Box<dyn Future<Error = Error, Item = ExecuteValue<RootedThread, <C as Executable<'vm, Extra>>::Expr>> + 'vm + Send> where
T: Send + VmRoot<'vm>,
fn load_script<T>(
Self,
&mut Compiler,
T,
&str,
&str,
Extra
) -> Box<dyn Future<Error = Error, Item = ()> + 'vm + Send> where
T: Send + VmRoot<'vm>,
[src]
Self,
&mut Compiler,
T,
&str,
&str,
Extra
) -> Box<dyn Future<Error = Error, Item = ()> + 'vm + Send> where
T: Send + VmRoot<'vm>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<D, T> FromPtr<D> for T
[src]
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
type Remainder = Choices
fn subset(
self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
impl<Source> Sculptor<HNil, HNil> for Source
impl<T, U, I> LiftInto<U, I> for T where
U: LiftFrom<T, I>,
U: LiftFrom<T, I>,
fn lift_into(self) -> U
impl<T> Any for T where
T: Any,
T: Any,