pub struct Chunk<Constant> {
pub constants: Vec<Constant>,
pub code: Vec<u8>,
}
Expand description
Executable code with a list of constants.
Chunk contains a list of constants
and executable code
.
Fields§
§constants: Vec<Constant>
§code: Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl<Constant> Freeze for Chunk<Constant>
impl<Constant> RefUnwindSafe for Chunk<Constant>where
Constant: RefUnwindSafe,
impl<Constant> Send for Chunk<Constant>where
Constant: Send,
impl<Constant> Sync for Chunk<Constant>where
Constant: Sync,
impl<Constant> Unpin for Chunk<Constant>where
Constant: Unpin,
impl<Constant> UnwindSafe for Chunk<Constant>where
Constant: UnwindSafe,
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