pub struct Bytecode {
pub chunks: Vec<Chunk>,
pub main_chunk: usize,
pub global_names: Vec<String>,
}Fields§
§chunks: Vec<Chunk>§main_chunk: usize§global_names: Vec<String>Global variable names indexed by slot ID. Used for LoadGlobal/StoreGlobal.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bytecode
impl<'de> Deserialize<'de> for Bytecode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Bytecode
Auto Trait Implementations§
impl !RefUnwindSafe for Bytecode
impl !Send for Bytecode
impl !Sync for Bytecode
impl !UnwindSafe for Bytecode
impl Freeze for Bytecode
impl Unpin for Bytecode
impl UnsafeUnpin for Bytecode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more