pub fn new_trace(&mut self) -> Rc<RefCell<Trace>> {
        let trace = Rc::new(RefCell::new(Trace::new()));
        self.traces.push(trace);
        // unwrap because we just pushed a value so there's no reason to get a None here
        self.traces.last_mut().unwrap().clone()
    }
/// Create a new trace and return it
Create a new trace and return it
Create a new trace and return it
pub fn new_trace(&mut self) -> Rc<RefCell<Trace>> {
        let trace = Rc::new(RefCell::new(Trace::new()));
        self.traces.push(trace);
        // unwrap because we just pushed a value so there's no reason to get a None here
        self.traces.last_mut().unwrap().clone()
    }
pub fn new_trace ( & mut self ) -> Rc < RefCell < Trace > > { let trace = Rc :: new ( RefCell :: new ( Trace :: new ( ) ) ) ; self . traces . push ( trace ) ; // unwrap because we just pushed a value so there's no reason to get a None here self . traces . last_mut ( ) . unwrap ( ) . clone ( ) }
Create a new trace and return it
Create a new trace and return it
&mut self
&mut self