Enum twiggy_ir::ItemKind
[−]
[src]
pub enum ItemKind { Code(Code), Data(Data), Debug(DebugInfo), Misc(Misc), }
The kind of item in the binary.
Variants
Code(Code)
Executable code. Function bodies.
Data(Data)
Data inside the binary that may or may not end up loaded into memory with the executable code.
Debug(DebugInfo)
Debugging symbols and information, such as a DWARF section.
Misc(Misc)
Miscellaneous item. Perhaps metadata. Perhaps something else.
Trait Implementations
impl Clone for ItemKind
[src]
fn clone(&self) -> ItemKind
[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 ItemKind
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for ItemKind
[src]
fn eq(&self, __arg_0: &ItemKind) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ItemKind) -> bool
[src]
This method tests for !=
.