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