pub enum FunctionKind {
Bytecode {
chunk: Rc<Chunk>,
captured_locals: Vec<CaptureKind>,
},
Foreign(ForeignFunction),
Control(Control),
}Expand description
The kind of the function (bytecode or FFI).
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FunctionKind
impl !RefUnwindSafe for FunctionKind
impl !Send for FunctionKind
impl !Sync for FunctionKind
impl Unpin for FunctionKind
impl !UnwindSafe for FunctionKind
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