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]
impl BinaryFormat
Trait Implementations
impl Copy for BinaryFormat
[src]
impl Copy for BinaryFormat
impl Clone for BinaryFormat
[src]
impl Clone for BinaryFormat
fn clone(&self) -> BinaryFormat
[src]
fn clone(&self) -> BinaryFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for BinaryFormat
[src]
impl Debug for BinaryFormat
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for BinaryFormat
[src]
impl PartialEq for BinaryFormat
fn eq(&self, other: &BinaryFormat) -> bool
[src]
fn eq(&self, other: &BinaryFormat) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for BinaryFormat
[src]
impl Eq for BinaryFormat
impl Hash for BinaryFormat
[src]
impl Hash for BinaryFormat
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
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]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for BinaryFormat
[src]
impl Display for BinaryFormat
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl FromStr for BinaryFormat
[src]
impl FromStr for BinaryFormat
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, ()>
[src]
fn from_str(s: &str) -> Result<Self, ()>
Parses a string s
to return a value of this type. Read more
impl Default for BinaryFormat
[src]
impl Default for BinaryFormat
Auto Trait Implementations
impl Send for BinaryFormat
impl Send for BinaryFormat
impl Sync for BinaryFormat
impl Sync for BinaryFormat