pub fn index_enum(
        &self,
        item: &Arc<CompileItem>,
        source: &Arc<Source>,
    ) -> Result<(), QueryError> {
        log::trace!("new enum: {:?}", item.item);

        self.inner.borrow_mut().index(IndexedEntry {
            item: item.clone(),
            source: source.clone(),
            indexed: Indexed::Enum,
        });

        Ok(())
    }
/// Add a new enum item.
Add a new enum item.
Add a new enum item .
pub fn index_enum(
        &self,
        item: &Arc<CompileItem>,
        source: &Arc<Source>,
    ) -> Result<(), QueryError> {
        log::trace!("new enum: {:?}", item.item);
        self.inner.borrow_mut().index(IndexedEntry {
            item: item.clone(),
            source: source.clone(),
            indexed: Indexed::Enum,
        });
        Ok(())
    }
pub fn index_enum ( & self , item : & Arc < CompileItem > , source : & Arc < Source > , ) -> Result < ( ) , QueryError > { log :: trace ! ( " " item item ) ; self . inner . borrow_mut ( ) . index ( IndexedEntry { item : item . clone ( ) , source : source . clone ( ) , indexed : Indexed :: Enum , } ) ; Ok ( ( ) ) }
Add a new enum item.
Add a new enum item .
&self
item
&Arc<CompileItem>
source
&Arc<Source>
&self
item
&Arc<CompileItem>
source
&Arc<Source>