pub fn clone_for_repl(&self) -> Registers {
        Registers {
            x: Register::new_shared(
                self.x.borrow().permissions.clone(),
                self.x.borrow().value.clone(),
            ),
            t: Register::new_shared(
                self.t.borrow().permissions.clone(),
                self.t.borrow().value.clone(),
            ),
            gx: Register::new_shared(
                self.gx.borrow().permissions.clone(),
                self.gx.borrow().value.clone(),
            ),
            gy: Register::new_shared(
                self.gy.borrow().permissions.clone(),
                self.gy.borrow().value.clone(),
            ),
            gz: Register::new_shared(
                self.gz.borrow().permissions.clone(),
                self.gz.borrow().value.clone(),
            ),
            gp: Register::new_shared(self.gp.borrow().permissions.clone(), 0),
            ci: Register::new_shared(self.ci.borrow().permissions.clone(), -9999),
            co: Register::new_shared(
                self.co.borrow().permissions.clone(),
                self.co.borrow().value.clone(),
            ),
        }
    }
/// "True" clone that creates new registers for the descendant EXA,
/// not new references to the original (which is what happens with
/// a normal clone given we're working with Rcs)
"True" clone that creates new registers for the descendant EXA,
not new references to the original (which is what happens with
a normal clone given we're working with Rcs)
" True " clone that creates new registers for the descendant EXA not new references to the original ( which is what happens with a normal clone given we ' re working with Rcs )
pub fn clone_for_repl(&self) -> Registers {
        Registers {
            x: Register::new_shared(
                self.x.borrow().permissions.clone(),
                self.x.borrow().value.clone(),
            ),
            t: Register::new_shared(
                self.t.borrow().permissions.clone(),
                self.t.borrow().value.clone(),
            ),
            gx: Register::new_shared(
                self.gx.borrow().permissions.clone(),
                self.gx.borrow().value.clone(),
            ),
            gy: Register::new_shared(
                self.gy.borrow().permissions.clone(),
                self.gy.borrow().value.clone(),
            ),
            gz: Register::new_shared(
                self.gz.borrow().permissions.clone(),
                self.gz.borrow().value.clone(),
            ),
            gp: Register::new_shared(self.gp.borrow().permissions.clone(), 0),
            ci: Register::new_shared(self.ci.borrow().permissions.clone(), -9999),
            co: Register::new_shared(
                self.co.borrow().permissions.clone(),
                self.co.borrow().value.clone(),
            ),
        }
    }
pub fn clone_for_repl ( & self ) -> Registers { Registers { x : Register :: new_shared ( self . x . borrow ( ) . permissions . clone ( ) , self . x . borrow ( ) . value . clone ( ) , ) , t : Register :: new_shared ( self . t . borrow ( ) . permissions . clone ( ) , self . t . borrow ( ) . value . clone ( ) , ) , gx : Register :: new_shared ( self . gx . borrow ( ) . permissions . clone ( ) , self . gx . borrow ( ) . value . clone ( ) , ) , gy : Register :: new_shared ( self . gy . borrow ( ) . permissions . clone ( ) , self . gy . borrow ( ) . value . clone ( ) , ) , gz : Register :: new_shared ( self . gz . borrow ( ) . permissions . clone ( ) , self . gz . borrow ( ) . value . clone ( ) , ) , gp : Register :: new_shared ( self . gp . borrow ( ) . permissions . clone ( ) , 0 ) , ci : Register :: new_shared ( self . ci . borrow ( ) . permissions . clone ( ) , - 9999 ) , co : Register :: new_shared ( self . co . borrow ( ) . permissions . clone ( ) , self . co . borrow ( ) . value . clone ( ) , ) , } }
"True" clone that creates new registers for the descendant EXA,
not new references to the original (which is what happens with
a normal clone given we're working with Rcs)
" True " clone that creates new registers for the descendant EXA not new references to the original ( which is what happens with a normal clone given we ' re working with Rcs )
&self
&self