Enum target_tuples::ObjectFormat [−][src]
#[repr(u32)]
pub enum ObjectFormat {
Unknown,
XCoff,
Coff,
Elf,
Goff,
MachO,
Wasm,
Xo65,
O65,
WlaObj,
Null,
// some variants omitted
}Expand description
The object format used by a target
Variants
Unknown
XCoff
Coff
Elf
Goff
MachO
Wasm
Xo65
O65
WlaObj
Null
Implementations
Parses the ObjectFormat name in a “lossy” manner, from the end of the Environment field
This is equivalent to Self::from_str, except that ObjectFormat::Unknown is returned, instead of an error, on an unknown OS Field
Returns the canonical name of the object format
The canonical name, when passed into Self::parse will yield an equivalent value,
Formatting an ObjectFormat yields this string
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ObjectFormat
impl Send for ObjectFormat
impl Sync for ObjectFormat
impl Unpin for ObjectFormat
impl UnwindSafe for ObjectFormat
Blanket Implementations
Mutably borrows from an owned value. Read more
