pub struct BytecodeTemplate<'a> {
pub unit: CodeUnitId,
pub constants: &'a [Value],
pub children: &'a [u32],
}Expand description
One unit of the tree Heap::alloc_bytecode_function creates.
Fields§
§unit: CodeUnitId§constants: &'a [Value]§children: &'a [u32]Indices into the tree, in MakeClosure order.
Trait Implementations§
Source§impl<'a> Clone for BytecodeTemplate<'a>
impl<'a> Clone for BytecodeTemplate<'a>
impl<'a> Copy for BytecodeTemplate<'a>
Auto Trait Implementations§
impl<'a> Freeze for BytecodeTemplate<'a>
impl<'a> RefUnwindSafe for BytecodeTemplate<'a>
impl<'a> Send for BytecodeTemplate<'a>
impl<'a> Sync for BytecodeTemplate<'a>
impl<'a> Unpin for BytecodeTemplate<'a>
impl<'a> UnsafeUnpin for BytecodeTemplate<'a>
impl<'a> UnwindSafe for BytecodeTemplate<'a>
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