pub fn no_line(&mut self) {
        let inst = dr::Instruction::new(spirv::Op::NoLine, None, None, vec![]);
        if self.selected_block.is_some() {
            self.insert_into_block(InsertPoint::End, inst)
                .expect("Internal error: insert_into_block failed when selected_block was Some");
        } else {
            // types_global_values is the only valid section (other than functions) that
            // OpLine/OpNoLine can be placed in, so put it there.
            self.module.types_global_values.push(inst);
        }
    }
/// Appends an `OpNoLine` instruction.
///
/// If a block is currently selected, the `OpNoLine` is inserted into that block. If no block
/// is currently selected, the `OpNoLine` is inserted into `types_global_values`.
Appends an `OpNoLine` instruction.
If a block is currently selected, the `OpNoLine` is inserted into that block. If no block
is currently selected, the `OpNoLine` is inserted into `types_global_values`.
Appends an ` OpNoLine ` instruction . If a block is currently selected the ` OpNoLine ` is inserted into that block . If no block is currently selected the ` OpNoLine ` is inserted into ` types_global_values ` .
pub fn no_line(&mut self) {
        let inst = dr::Instruction::new(spirv::Op::NoLine, None, None, vec![]);
        if self.selected_block.is_some() {
            self.insert_into_block(InsertPoint::End, inst)
                .expect("Internal error: insert_into_block failed when selected_block was Some");
        } else {
            // types_global_values is the only valid section (other than functions) that
            // OpLine/OpNoLine can be placed in, so put it there.
            self.module.types_global_values.push(inst);
        }
    }
pub fn no_line ( & mut self ) { let inst = dr :: Instruction :: new ( spirv :: Op :: NoLine , None , None , vec ! [ ] ) ; if self . selected_block . is_some ( ) { self . insert_into_block ( InsertPoint :: End , inst ) . expect ( " " ) ; } else { // types_global_values is the only valid section (other than functions) that // OpLine/OpNoLine can be placed in, so put it there. self . module . types_global_values . push ( inst ) ; } }
Appends an `OpNoLine` instruction.
Appends an ` OpNoLine ` instruction .
&mut self
&mut self