/// Push a component and return a guard to it.
Push a component and return a guard to it.
Push a component and return a guard to it .
pub(crate) fn push_name(&self, name: &str) -> Guard {
        let mut inner = self.inner.borrow_mut();
        let id = inner.gen.next();
        inner.id = 0;
        inner.item.push(name);
        inner.ids.push(id);
        Guard {
            inner: self.inner.clone(),
        }
    }
pub ( crate ) fn push_name ( & self , name : & str ) -> Guard { let mut inner = self . inner . borrow_mut ( ) ; let id = inner . gen . next ( ) ; inner . id = 0 ; inner . item . push ( name ) ; inner . ids . push ( id ) ; Guard { inner : self . inner . clone ( ) , } }
Push a component and return a guard to it.
Push a component and return a guard to it .
&self
name
&str