Enum gimli::Format [−][src]
pub enum Format {
Dwarf64,
Dwarf32,
}Whether the format of a compilation unit is 32- or 64-bit.
Variants
Dwarf6464-bit DWARF
Dwarf3232-bit DWARF
Methods
impl Format[src]
impl Formatpub fn initial_length_size(self) -> u8[src]
pub fn initial_length_size(self) -> u8Return the serialized size of an initial length field for the format.
pub fn word_size(self) -> u8[src]
pub fn word_size(self) -> u8Return the natural word size for the format
Trait Implementations
impl Debug for Format[src]
impl Debug for Formatfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Format[src]
impl Clone for Formatfn clone(&self) -> Format[src]
fn clone(&self) -> FormatReturns 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 Copy for Format[src]
impl Copy for Formatimpl PartialEq for Format[src]
impl PartialEq for Formatfn eq(&self, other: &Format) -> bool[src]
fn eq(&self, other: &Format) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for Format[src]
impl Eq for Formatimpl Hash for Format[src]
impl Hash for Format