Trait rquickjs_core::HasByteCode [−][src]
pub trait HasByteCode<'bc> {
fn get_bytecode(&self) -> &'bc [u8];
}
Expand description
The module data which contains bytecode
This trait needed because the modules potentially can contain any kind of data like a typing (for TypeScript) or metadata.
Required methods
fn get_bytecode(&self) -> &'bc [u8]
Implementations on Foreign Types
This is supported on crate feature
loader
only.