pub struct RegChunk {
pub name: String,
pub code: Vec<RegOp>,
pub constants: Vec<Value>,
pub n_regs: u16,
pub arity: usize,
pub required: usize,
}Expand description
A register-mode chunk (function body).
Fields§
§name: String§code: Vec<RegOp>§constants: Vec<Value>§n_regs: u16Number of registers the frame must allocate (max index + 1).
arity: usizeDeclared parameter count (max).
required: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RegChunk
impl !Send for RegChunk
impl !Sync for RegChunk
impl !UnwindSafe for RegChunk
impl Freeze for RegChunk
impl Unpin for RegChunk
impl UnsafeUnpin for RegChunk
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