fn insert_const_fn(&mut self, item: &Arc<CompileItem>, ir_fn: ir::IrFn) -> Id {
        let id = self.gen.next();

        self.const_fns.insert(
            id,
            Arc::new(QueryConstFn {
                item: item.clone(),
                ir_fn,
            }),
        );

        id
    }
/// Insert an item and return its Id.
Insert an item and return its Id.
Insert an item and return its Id .
fn insert_const_fn(&mut self, item: &Arc<CompileItem>, ir_fn: ir::IrFn) -> Id {
        let id = self.gen.next();
        self.const_fns.insert(
            id,
            Arc::new(QueryConstFn {
                item: item.clone(),
                ir_fn,
            }),
        );
        id
    }
fn insert_const_fn ( & mut self , item : & Arc < CompileItem > , ir_fn : ir :: IrFn ) -> Id { let id = self . gen . next ( ) ; self . const_fns . insert ( id , Arc :: new ( QueryConstFn { item : item . clone ( ) , ir_fn , } ) , ) ; id }
Insert an item and return its Id.
Insert an item and return its Id .
&mut self
item
&Arc<CompileItem>
ir_fn
ir::IrFn
&mut self
item
&Arc<CompileItem>
ir_fn
ir::IrFn