pub enum Chunk {
Bytecode(BytecodeChunk),
Native(NativeChunk),
}Variants§
Bytecode(BytecodeChunk)
Native(NativeChunk)
Implementations§
Source§impl Chunk
impl Chunk
pub fn param_count(&self) -> usize
pub fn as_bytecode(&self) -> Option<&BytecodeChunk>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Chunk
impl RefUnwindSafe for Chunk
impl Send for Chunk
impl Sync for Chunk
impl Unpin for Chunk
impl UnsafeUnpin for Chunk
impl UnwindSafe for Chunk
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