pub struct Bytecode {
pub objects: VMObjects,
pub consts: Vec<GosValue, Global>,
pub ifaces: Vec<(Meta, Vec<Binding4Runtime, Global>), Global>,
pub indices: Vec<Vec<i32, Global>, Global>,
pub entry: FunctionKey,
pub main_pkg: PackageKey,
}
Fields§
§objects: VMObjects
§consts: Vec<GosValue, Global>
§ifaces: Vec<(Meta, Vec<Binding4Runtime, Global>), Global>
For calling method via interfaces
indices: Vec<Vec<i32, Global>, Global>
For embedded fields of structs
entry: FunctionKey
§main_pkg: PackageKey
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Bytecode
impl !Send for Bytecode
impl !Sync for Bytecode
impl Unpin for Bytecode
impl !UnwindSafe 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