pub fn copy_from(&mut self, other: &Context) {
    self.ip = other.ip;
    self.cp = other.cp;

    let live = other.live;
    self.live = live;
    self.regs[0..live].clone_from_slice(&other.regs[0..live]);

    self.fpregs = other.fpregs;
  }
/// For swapping in/out with a process, copy pointers and `live` amount of X
/// registers.
For swapping in/out with a process, copy pointers and `live` amount of X
registers.
For swapping in / out with a process copy pointers and ` live ` amount of X registers .
pub fn copy_from(&mut self, other: &Context) {
    self.ip = other.ip;
    self.cp = other.cp;
    let live = other.live;
    self.live = live;
    self.regs[0..live].clone_from_slice(&other.regs[0..live]);
    self.fpregs = other.fpregs;
  }
pub fn copy_from ( & mut self , other : & Context ) { self . ip = other . ip ; self . cp = other . cp ; let live = other . live ; self . live = live ; self . regs [ 0 .. live ] . clone_from_slice ( & other . regs [ 0 .. live ] ) ; self . fpregs = other . fpregs ; }
For swapping in/out with a process, copy pointers and `live` amount of X
registers.
For swapping in / out with a process copy pointers and ` live ` amount of X registers .
&mut self
other
&Context