#[non_exhaustive]pub enum SourceLanguage {
Show 24 variants
C = 0,
Cpp = 1,
Fortran = 2,
Masm = 3,
Pascal = 4,
Basic = 5,
Cobol = 6,
Link = 7,
Cvtres = 8,
Cvtpgd = 9,
CSharp = 10,
VB = 11,
ILAsm = 12,
Java = 13,
JScript = 14,
MSIL = 15,
HLSL = 16,
ObjC = 17,
ObjCXX = 18,
Swift = 19,
AliasObj = 20,
Rust = 21,
Go = 22,
D = 68,
}Expand description
These values correspond to the CV_CFL_LANG enumeration, and are documented
on MSDN.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
C = 0
Application language is C.
Cpp = 1
Application language is C++.
Fortran = 2
Application language is FORTRAN.
Masm = 3
Application language is Microsoft Macro Assembler.
Pascal = 4
Application language is Pascal.
Basic = 5
Application language is BASIC.
Cobol = 6
Application language is COBOL.
Link = 7
Application is a linker-generated module.
Cvtres = 8
Application is a resource module converted with CVTRES tool.
Cvtpgd = 9
Application is a POGO optimized module generated with CVTPGD tool.
CSharp = 10
Application language is C#.
VB = 11
Application language is Visual Basic.
ILAsm = 12
Application language is intermediate language assembly (that is, Common Language Runtime (CLR) assembly).
Java = 13
Application language is Java.
JScript = 14
Application language is Jscript.
MSIL = 15
Application language is an unknown Microsoft Intermediate Language (MSIL), possibly a result of using the /LTCG (Link-time Code Generation) switch.
HLSL = 16
Application language is High Level Shader Language.
ObjC = 17
Application language is Objective-C.
ObjCXX = 18
Application language is Objective-C++.
Swift = 19
Application language is Swift.
AliasObj = 20
Application is a module generated by the aliasobj tool.
Rust = 21
Application language is Rust.
Go = 22
Application language is Go.
D = 68
The DMD compiler emits ‘D’ for the CV source language. Microsoft doesn’t have an enumerator for it yet.
Trait Implementations§
Source§impl Clone for SourceLanguage
impl Clone for SourceLanguage
Source§fn clone(&self) -> SourceLanguage
fn clone(&self) -> SourceLanguage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more