Enum twiggy_ir::ItemKind[][src]

pub enum ItemKind {
    Code(Code),
    Data(Data),
    Debug(DebugInfo),
    Misc(Misc),
}

The kind of item in the binary.

Variants

Executable code. Function bodies.

Data inside the binary that may or may not end up loaded into memory with the executable code.

Debugging symbols and information, such as a DWARF section.

Miscellaneous item. Perhaps metadata. Perhaps something else.

Trait Implementations

impl Clone for ItemKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ItemKind
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ItemKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ItemKind
[src]

impl From<Code> for ItemKind
[src]

Performs the conversion.

impl From<Data> for ItemKind
[src]

Performs the conversion.

impl From<DebugInfo> for ItemKind
[src]

Performs the conversion.

impl From<Misc> for ItemKind
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ItemKind

impl Sync for ItemKind