Enum twiggy_ir::ItemKind [−][src]
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]
impl Clone for ItemKind
fn clone(&self) -> ItemKind
[src]
fn clone(&self) -> ItemKind
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 ItemKind
[src]
impl Debug for ItemKind
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 ItemKind
[src]
impl PartialEq for ItemKind
fn eq(&self, other: &ItemKind) -> bool
[src]
fn eq(&self, other: &ItemKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ItemKind) -> bool
[src]
fn ne(&self, other: &ItemKind) -> bool
This method tests for !=
.
impl Eq for ItemKind
[src]
impl Eq for ItemKind
impl From<Code> for ItemKind
[src]
impl From<Code> for ItemKind
impl From<Data> for ItemKind
[src]
impl From<Data> for ItemKind
impl From<DebugInfo> for ItemKind
[src]
impl From<DebugInfo> for ItemKind
impl From<Misc> for ItemKind
[src]
impl From<Misc> for ItemKind