pub(crate) fn from_closure(
        context: Arc<RuntimeContext>,
        unit: Arc<Unit>,
        offset: usize,
        call: Call,
        args: usize,
        environment: Box<[V]>,
        hash: Hash,
    ) -> Self {
        Self {
            inner: Inner::FnClosureOffset(FnClosureOffset {
                fn_offset: FnOffset {
                    context,
                    unit,
                    offset,
                    call,
                    args,
                    hash,
                },
                environment,
            }),
        }
    }
/// Create a function pointer from an offset.
Create a function pointer from an offset.
Create a function pointer from an offset .
pub(crate) fn from_closure(
        context: Arc<RuntimeContext>,
        unit: Arc<Unit>,
        offset: usize,
        call: Call,
        args: usize,
        environment: Box<[V]>,
        hash: Hash,
    ) -> Self {
        Self {
            inner: Inner::FnClosureOffset(FnClosureOffset {
                fn_offset: FnOffset {
                    context,
                    unit,
                    offset,
                    call,
                    args,
                    hash,
                },
                environment,
            }),
        }
    }
pub ( crate ) fn from_closure ( context : Arc < RuntimeContext > , unit : Arc < Unit > , offset : usize , call : Call , args : usize , environment : Box < [ V ] > , hash : Hash , ) -> Self { Self { inner : Inner :: FnClosureOffset ( FnClosureOffset { fn_offset : FnOffset { context , unit , offset , call , args , hash , } , environment , } ) , } }
Create a function pointer from an offset.
Create a function pointer from an offset .
context
Arc<RuntimeContext>
unit
Arc<Unit>
offset
usize
call
Call
args
usize
environment
Box<[V]>
hash
Hash
context
Arc<RuntimeContext>
unit
Arc<Unit>
offset
usize
call
Call
args
usize
environment
Box<[V]>
hash
Hash