fn call_stream_fn(&mut self, offset: usize, args: usize) -> Result<(), VmError> {
        let stack = self.stack.drain_stack_top(args)?.collect::<Stack>();
        let mut vm = Self::new_with_stack(self.context.clone(), self.unit.clone(), stack);
        vm.ip = offset;
        self.stack.push(Stream::new(vm));
        Ok(())
    }
/// Construct a stream from calling a function.
Construct a stream from calling a function.
Construct a stream from calling a function .
fn call_stream_fn(&mut self, offset: usize, args: usize) -> Result<(), VmError> {
        let stack = self.stack.drain_stack_top(args)?.collect::<Stack>();
        let mut vm = Self::new_with_stack(self.context.clone(), self.unit.clone(), stack);
        vm.ip = offset;
        self.stack.push(Stream::new(vm));
        Ok(())
    }
fn call_stream_fn ( & mut self , offset : usize , args : usize ) -> Result < ( ) , VmError > { let stack = self . stack . drain_stack_top ( args ) ? . collect :: < Stack > ( ) ; let mut vm = Self :: new_with_stack ( self . context . clone ( ) , self . unit . clone ( ) , stack ) ; vm . ip = offset ; self . stack . push ( Stream :: new ( vm ) ) ; Ok ( ( ) ) }
Construct a stream from calling a function.
Construct a stream from calling a function .
&mut self
offset
usize
args
usize
&mut self
offset
usize
args
usize