pub(crate) fn associate_and_push(&mut self, cc: CircleEventType) -> Rc<CircleEventC> {
        {
            let mut c = cc.0.get();
            let _ = c.set_index(self.c_list_next_free_index_);
            cc.0.set(c);
        }

        let _ = self
            .c_list_
            .insert(self.c_list_next_free_index_.0, cc.clone());
        let _ = self.c_list_next_free_index_.increment();
        let _ = self.c_.insert(cc.clone());
        cc
    }
/// Take ownership of the circle event,
/// Update index
/// Insert Rc ref into the list
/// Insert Rc wrapped object in self.c_
/// return a Rc ref of the inserted element
Take ownership of the circle event,
Update index
Insert Rc ref into the list
Insert Rc wrapped object in self.c_
return a Rc ref of the inserted element
Take ownership of the circle event Update index Insert Rc ref into the list Insert Rc wrapped object in self . c_ return a Rc ref of the inserted element
pub(crate) fn associate_and_push(&mut self, cc: CircleEventType) -> Rc<CircleEventC> {
        {
            let mut c = cc.0.get();
            let _ = c.set_index(self.c_list_next_free_index_);
            cc.0.set(c);
        }
        let _ = self
            .c_list_
            .insert(self.c_list_next_free_index_.0, cc.clone());
        let _ = self.c_list_next_free_index_.increment();
        let _ = self.c_.insert(cc.clone());
        cc
    }
pub ( crate ) fn associate_and_push ( & mut self , cc : CircleEventType ) -> Rc < CircleEventC > { { let mut c = cc . 0 . get ( ) ; let _ = c . set_index ( self . c_list_next_free_index_ ) ; cc . 0 . set ( c ) ; } let _ = self . c_list_ . insert ( self . c_list_next_free_index_ . 0 , cc . clone ( ) ) ; let _ = self . c_list_next_free_index_ . increment ( ) ; let _ = self . c_ . insert ( cc . clone ( ) ) ; cc }
Take ownership of the circle event,
Update index
Insert Rc ref into the list
Insert Rc wrapped object in self.c_
return a Rc ref of the inserted element
Take ownership of the circle event Update index Insert Rc ref into the list Insert Rc wrapped object in self . c_ return a Rc ref of the inserted element
&mut self
cc
CircleEventType