pub enum BinFormat {
Elf,
Raw,
}Expand description
Format in which the assembled format should be encoded.
Variants§
Elf
Format which can be linked with libraries, used as a shared object, but cannot be executed directly by a processor (needs to be loaded by the OS.)
Raw
Format which contains no extra information about the program or how to link it. Just raw machine code.
Trait Implementations§
impl Copy for BinFormat
impl Eq for BinFormat
impl StructuralPartialEq for BinFormat
Auto Trait Implementations§
impl Freeze for BinFormat
impl RefUnwindSafe for BinFormat
impl Send for BinFormat
impl Sync for BinFormat
impl Unpin for BinFormat
impl UnwindSafe for BinFormat
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