pub struct FunctionBytecode {
pub unit: u32,
pub constants: Range,
pub constant_count: u32,
pub children: Range,
pub child_count: u32,
}Expand description
The heap side of one published code unit, shared by every closure over
it: the constant table, and the records of the unit’s children (as
Int32 record indices) so that a live function keeps every function it
can create alive. Both are value-heap ranges, traced like everything else.
Fields§
§unit: u32The CodeUnitId index.
constants: Range§constant_count: u32§children: Range§child_count: u32Trait Implementations§
Source§impl Clone for FunctionBytecode
impl Clone for FunctionBytecode
impl Copy for FunctionBytecode
Source§impl Debug for FunctionBytecode
impl Debug for FunctionBytecode
Auto Trait Implementations§
impl Freeze for FunctionBytecode
impl RefUnwindSafe for FunctionBytecode
impl Send for FunctionBytecode
impl Sync for FunctionBytecode
impl Unpin for FunctionBytecode
impl UnsafeUnpin for FunctionBytecode
impl UnwindSafe for FunctionBytecode
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