/// Returns a mut iterator over all global instructions.
Returns a mut iterator over all global instructions.
Returns a mut iterator over all global instructions .
pub fn global_inst_iter_mut(&mut self) -> impl Iterator<Item = &mut Instruction> {
        self.capabilities
            .iter_mut()
            .chain(&mut self.extensions)
            .chain(&mut self.ext_inst_imports)
            .chain(&mut self.memory_model)
            .chain(&mut self.entry_points)
            .chain(&mut self.execution_modes)
            .chain(&mut self.debug_string_source)
            .chain(&mut self.debug_names)
            .chain(&mut self.debug_module_processed)
            .chain(&mut self.annotations)
            .chain(&mut self.types_global_values)
    }
pub fn global_inst_iter_mut ( & mut self ) -> impl Iterator < Item = & mut Instruction > { self . capabilities . iter_mut ( ) . chain ( & mut self . extensions ) . chain ( & mut self . ext_inst_imports ) . chain ( & mut self . memory_model ) . chain ( & mut self . entry_points ) . chain ( & mut self . execution_modes ) . chain ( & mut self . debug_string_source ) . chain ( & mut self . debug_names ) . chain ( & mut self . debug_module_processed ) . chain ( & mut self . annotations ) . chain ( & mut self . types_global_values ) }
Returns a mut iterator over all global instructions.
Returns a mut iterator over all global instructions .
&mut self