Struct rquickjs_core::Compile [−][src]
pub struct Compile<T = ()> { /* fields omitted */ }
This is supported on crate feature
loader
only.Expand description
Modules compiling data
Implementations
Create compiling resolver by wrapping other resolver
Create compiling loader by wrapping other script loader
Get resolved modules with paths
You can use IntoIterator::into_iter()
to get an iterator over tuples which includes module name (&str
) and path (&str
).
Get loaded modules with bytecodes
You can use IntoIterator::into_iter()
to get an iterator over tuples which includes module path (&str
) and bytecode (&[u8]
).
Trait Implementations
Auto Trait Implementations
impl<T = ()> !RefUnwindSafe for Compile<T>
impl<T = ()> !UnwindSafe for Compile<T>
Blanket Implementations
Mutably borrows from an owned value. Read more