pub fn type_opaque(&mut self, type_name: impl Into<String>) -> spirv::Word {
        let id = self.id();
        self.module.types_global_values.push(dr::Instruction::new(
            spirv::Op::TypeOpaque,
            None,
            Some(id),
            vec![dr::Operand::LiteralString(type_name.into())],
        ));
        id
    }
/// Appends an OpTypeOpaque instruction and returns the result id.
Appends an OpTypeOpaque instruction and returns the result id.
Appends an OpTypeOpaque instruction and returns the result id .
pub fn type_opaque(&mut self, type_name: impl Into<String>) -> spirv::Word {
        let id = self.id();
        self.module.types_global_values.push(dr::Instruction::new(
            spirv::Op::TypeOpaque,
            None,
            Some(id),
            vec![dr::Operand::LiteralString(type_name.into())],
        ));
        id
    }
pub fn type_opaque ( & mut self , type_name : impl Into < String > ) -> spirv :: Word { let id = self . id ( ) ; self . module . types_global_values . push ( dr :: Instruction :: new ( spirv :: Op :: TypeOpaque , None , Some ( id ) , vec ! [ dr Operand LiteralString ( type_name into ( ) ) ] , ) ) ; id }
Appends an OpTypeOpaque instruction and returns the result id.
Appends an OpTypeOpaque instruction and returns the result id .
&mut self
type_name
impl Into<String>
&mut self
type_name
impl Into<String>