Enum Type
pub enum Type {
NOTYPE,
OBJECT,
FUNC,
SECTION,
FILE,
COMMON,
TLS,
GNU_IFUNC,
UNKNOWN(u32),
}
Expand description
Type of the symbol. This enum matches the STT_xxx
values of the ELF
specs
Variants§
NOTYPE
Symbol’s type is not specified
OBJECT
Symbol is a data object (variable, array, etc.)
FUNC
Symbol is executable code (function, etc.)
SECTION
Symbol refers to a section
FILE
Local, absolute symbol that refers to a file
COMMON
An uninitialized common block
TLS
Thread local data object
GNU_IFUNC
GNU indirect function
UNKNOWN(u32)
Implementations§
§impl Type
impl Type
pub fn from_value(value: u32) -> Self
Trait Implementations§
§impl Ord for Type
impl Ord for Type
§impl PartialOrd for Type
impl PartialOrd for Type
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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