pub struct CodeObjectFunction { /* private fields */ }
Expand description
Function of a CodeObject. Implements CallProtocol to allow execution of bytecode from a certain offset.
Implementations§
Source§impl CodeObjectFunction
impl CodeObjectFunction
pub fn from(on: Rc<CodeObject>, offset: usize) -> Self
Trait Implementations§
Source§impl CallProtocol for CodeObjectFunction
impl CallProtocol for CodeObjectFunction
Auto Trait Implementations§
impl Freeze for CodeObjectFunction
impl !RefUnwindSafe for CodeObjectFunction
impl !Send for CodeObjectFunction
impl !Sync for CodeObjectFunction
impl Unpin for CodeObjectFunction
impl !UnwindSafe for CodeObjectFunction
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