pub struct BytecodeChunk {
pub code: Vec<OpCode>,
pub constants: Vec<u64>,
pub const_mask: Vec<u64>,
pub string_constants: Vec<String>,
pub reg_count: usize,
pub param_count: usize,
pub lines: Vec<u32>,
pub src_file: String,
}Fields§
§code: Vec<OpCode>§constants: Vec<u64>§const_mask: Vec<u64>§string_constants: Vec<String>§reg_count: usize§param_count: usize§lines: Vec<u32>§src_file: StringImplementations§
Source§impl BytecodeChunk
impl BytecodeChunk
pub fn const_is_handle(&self, idx: u16) -> bool
Trait Implementations§
Source§impl Clone for BytecodeChunk
impl Clone for BytecodeChunk
Source§fn clone(&self) -> BytecodeChunk
fn clone(&self) -> BytecodeChunk
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BytecodeChunk
impl Debug for BytecodeChunk
Source§impl Default for BytecodeChunk
impl Default for BytecodeChunk
Source§fn default() -> BytecodeChunk
fn default() -> BytecodeChunk
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BytecodeChunk
impl RefUnwindSafe for BytecodeChunk
impl Send for BytecodeChunk
impl Sync for BytecodeChunk
impl Unpin for BytecodeChunk
impl UnsafeUnpin for BytecodeChunk
impl UnwindSafe for BytecodeChunk
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