#[repr(u8)]pub enum ObjectFormat {
Unknown = 0,
JIT = 1,
ELF = 2,
COFF = 3,
XCOFF = 4,
MachO = 5,
MaxValue = 6,
}Expand description
Object format.
Variants§
Unknown = 0
Unknown or uninitialized object format.
JIT = 1
JIT code generation object.
ELF = 2
Executable and linkable format (ELF).
COFF = 3
Common object file format.
XCOFF = 4
Extended COFF object format.
MachO = 5
Mach object file format.
MaxValue = 6
Maximum value of ObjectFormat.
Trait Implementations§
Source§impl Clone for ObjectFormat
impl Clone for ObjectFormat
Source§fn clone(&self) -> ObjectFormat
fn clone(&self) -> ObjectFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectFormat
impl Debug for ObjectFormat
Source§impl PartialEq for ObjectFormat
impl PartialEq for ObjectFormat
impl Copy for ObjectFormat
impl Eq for ObjectFormat
impl StructuralPartialEq for ObjectFormat
Auto Trait Implementations§
impl Freeze for ObjectFormat
impl RefUnwindSafe for ObjectFormat
impl Send for ObjectFormat
impl Sync for ObjectFormat
impl Unpin for ObjectFormat
impl UnwindSafe for ObjectFormat
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