#[repr(C)]pub enum LLVMBinaryType {
Show 16 variants
LLVMBinaryTypeArchive = 0,
LLVMBinaryTypeMachOUniversalBinary = 1,
LLVMBinaryTypeCOFFImportFile = 2,
LLVMBinaryTypeIR = 3,
LLVMBinaryTypeWinRes = 4,
LLVMBinaryTypeCOFF = 5,
LLVMBinaryTypeELF32L = 6,
LLVMBinaryTypeELF32B = 7,
LLVMBinaryTypeELF64L = 8,
LLVMBinaryTypeELF64B = 9,
LLVMBinaryTypeMachO32L = 10,
LLVMBinaryTypeMachO32B = 11,
LLVMBinaryTypeMachO64L = 12,
LLVMBinaryTypeMachO64B = 13,
LLVMBinaryTypeWasm = 14,
LLVMBinaryTypeOffload = 15,
}
Variants§
LLVMBinaryTypeArchive = 0
Archive file
LLVMBinaryTypeMachOUniversalBinary = 1
Mach-O Universal Binary file
LLVMBinaryTypeCOFFImportFile = 2
COFF Import file
LLVMBinaryTypeIR = 3
LLVM IR
LLVMBinaryTypeWinRes = 4
Windows resource (.res) file
LLVMBinaryTypeCOFF = 5
COFF Object file
LLVMBinaryTypeELF32L = 6
ELF 32-bit, little endian
LLVMBinaryTypeELF32B = 7
ELF 32-bit, big endian
LLVMBinaryTypeELF64L = 8
ELF 64-bit, little endian
LLVMBinaryTypeELF64B = 9
ELF 64-bit, big endian
LLVMBinaryTypeMachO32L = 10
MachO 32-bit, little endian
LLVMBinaryTypeMachO32B = 11
MachO 32-bit, big endian
LLVMBinaryTypeMachO64L = 12
MachO 64-bit, little endian
LLVMBinaryTypeMachO64B = 13
MachO 64-bit, big endian
LLVMBinaryTypeWasm = 14
Web assembly
LLVMBinaryTypeOffload = 15
Offloading fatbinary
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LLVMBinaryType
impl RefUnwindSafe for LLVMBinaryType
impl Send for LLVMBinaryType
impl Sync for LLVMBinaryType
impl Unpin for LLVMBinaryType
impl UnwindSafe for LLVMBinaryType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more