pub enum ItemKind {
Code(Code),
Data(Data),
Debug(DebugInfo),
Misc(Misc),
}
Expand description
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.
Implementations§
Trait Implementations§
impl Eq for ItemKind
impl StructuralPartialEq for ItemKind
Auto Trait Implementations§
impl Freeze for ItemKind
impl RefUnwindSafe for ItemKind
impl Send for ItemKind
impl Sync for ItemKind
impl Unpin for ItemKind
impl UnwindSafe for ItemKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.