Enum target_lexicon::BinaryFormat
[−]
[src]
pub enum BinaryFormat { Unknown, Elf, Coff, Macho, Wasm, }
The "binary format" field, which is usually omitted, and the binary format is implied by the other fields.
Variants
Unknown
Elf
Coff
Macho
Wasm
Methods
impl BinaryFormat
[src]
Trait Implementations
impl Copy for BinaryFormat
[src]
impl Clone for BinaryFormat
[src]
fn clone(&self) -> BinaryFormat
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for BinaryFormat
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for BinaryFormat
[src]
fn eq(&self, __arg_0: &BinaryFormat) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for BinaryFormat
[src]
impl Hash for BinaryFormat
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for BinaryFormat
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl FromStr for BinaryFormat
[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, ()>
[src]
Parses a string s
to return a value of this type. Read more