/// Returns the generator's name and version as a tuple.
Returns the generator's name and version as a tuple.
Returns the generator ' s name and version as a tuple .
pub fn generator(&self) -> (&str, u16) {
        let tool = (self.generator & 0xffff_0000) >> 16;
        let version = (self.generator & 0xffff) as u16;
        let tool: &str = match tool {
            0 => "The Khronos Group",
            1 => "LunarG",
            2 => "Valve",
            3 => "Codeplay",
            4 => "NVIDIA",
            5 => "ARM",
            6 => "LLVM/SPIR-V Translator",
            7 => "SPIR-V Tools Assembler",
            8 => "Glslang",
            9 => "Qualcomm",
            10 => "AMD",
            11 => "Intel",
            12 => "Imagination",
            13 => "Shaderc",
            14 => "spiregg",
            15 => "rspirv",
            _ => "Unknown",
        };
        (tool, version)
    }
pub fn generator ( & self ) -> ( & str , u16 ) { let tool = ( self . generator & 0xffff_0000 ) >> 16 ; let version = ( self . generator & 0xffff ) as u16 ; let tool : & str = match tool { 0 => " " , 1 => " " , 2 => " " , 3 => " " , 4 => " " , 5 => " " , 6 => " " , 7 => " " , 8 => " " , 9 => " " , 10 => " " , 11 => " " , 12 => " " , 13 => " " , 14 => " " , 15 => " " , _ => " " , } ; ( tool , version ) }
Returns the generator's name and version as a tuple.
Returns the generator ' s name and version as a tuple .
&self