pub struct CodeStore {
pub functions: Vec<FnChunk>,
pub fn_index: HashMap<String, u32>,
/* private fields */
}Expand description
All compiled bytecode for a program.
Fields§
§functions: Vec<FnChunk>§fn_index: HashMap<String, u32>Map from function name to index in functions.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodeStore
impl RefUnwindSafe for CodeStore
impl Send for CodeStore
impl Sync for CodeStore
impl Unpin for CodeStore
impl UnsafeUnpin for CodeStore
impl UnwindSafe for CodeStore
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