Enum elflib::SymbolType 
source · #[repr(u8)]pub enum SymbolType {
Show 15 variants
    RenesasEntry = 14,
    _PariscMilliOrRegisterOrLoprocOrSparcRegisterOrPariscMillicodeOrArmTfunc = 13,
    HpOpaque = 11,
    _HpStubOrHios = 12,
    _Arm16BitOrHiproc = 15,
    Notype = 0,
    Object = 1,
    Func = 2,
    Section = 3,
    File = 4,
    Common = 5,
    Tls = 6,
    Relc = 8,
    Srelc = 9,
    _LoosOrGnuIfunc = 10,
}Variants§
RenesasEntry = 14
Set for functions called at reset time.
_PariscMilliOrRegisterOrLoprocOrSparcRegisterOrPariscMillicodeOrArmTfunc = 13
PariscMilli Or global reg reserved to app Or Processor-specific semantics Or Global register reserved to app Or Millicode function entry point Or A Thumb function
HpOpaque = 11
_HpStubOrHios = 12
HpStub Or OS-specific semantics
_Arm16BitOrHiproc = 15
A Thumb label Or Processor-specific semantics
Notype = 0
Symbol type is unspecified
Object = 1
Symbol is a data object
Func = 2
Symbol is a code object
Section = 3
Symbol associated with a section
File = 4
Symbol gives a file name
Common = 5
An uninitialised common block
Tls = 6
Thread local data object
Relc = 8
Complex relocation expression
Srelc = 9
Signed Complex relocation expression
_LoosOrGnuIfunc = 10
OS-specific semantics Or Symbol is an indirect code object
Implementations§
source§impl SymbolType
 
impl SymbolType
pub const PariscMilli: Self = Self::_PariscMilliOrRegisterOrLoprocOrSparcRegisterOrPariscMillicodeOrArmTfunc
sourcepub const Register: Self = Self::_PariscMilliOrRegisterOrLoprocOrSparcRegisterOrPariscMillicodeOrArmTfunc
 
pub const Register: Self = Self::_PariscMilliOrRegisterOrLoprocOrSparcRegisterOrPariscMillicodeOrArmTfunc
global reg reserved to app.
sourcepub const Loproc: Self = Self::_PariscMilliOrRegisterOrLoprocOrSparcRegisterOrPariscMillicodeOrArmTfunc
 
pub const Loproc: Self = Self::_PariscMilliOrRegisterOrLoprocOrSparcRegisterOrPariscMillicodeOrArmTfunc
Processor-specific semantics
sourcepub const SparcRegister: Self = Self::_PariscMilliOrRegisterOrLoprocOrSparcRegisterOrPariscMillicodeOrArmTfunc
 
pub const SparcRegister: Self = Self::_PariscMilliOrRegisterOrLoprocOrSparcRegisterOrPariscMillicodeOrArmTfunc
Global register reserved to app.
sourcepub const PariscMillicode: Self = Self::_PariscMilliOrRegisterOrLoprocOrSparcRegisterOrPariscMillicodeOrArmTfunc
 
pub const PariscMillicode: Self = Self::_PariscMilliOrRegisterOrLoprocOrSparcRegisterOrPariscMillicodeOrArmTfunc
Millicode function entry point.
sourcepub const ArmTfunc: Self = Self::_PariscMilliOrRegisterOrLoprocOrSparcRegisterOrPariscMillicodeOrArmTfunc
 
pub const ArmTfunc: Self = Self::_PariscMilliOrRegisterOrLoprocOrSparcRegisterOrPariscMillicodeOrArmTfunc
A Thumb function.
pub const HpStub: Self = Self::_HpStubOrHios
Trait Implementations§
source§impl BinarySerde for SymbolType
 
impl BinarySerde for SymbolType
source§const SERIALIZED_SIZE: usize = 1usize
 
const SERIALIZED_SIZE: usize = 1usize
the size of this type when serialized to a packed binary format.
§type RecursiveArray = <u8 as BinarySerde>::RecursiveArray
 
type RecursiveArray = <u8 as BinarySerde>::RecursiveArray
the fixed size recursive array type that is returned when serializing this type to an array.
the length of this array is guaranteed to be equal to 
Self::SERIALIZED_SIZE.source§fn binary_serialize(&self, buf: &mut [u8], endianness: Endianness)
 
fn binary_serialize(&self, buf: &mut [u8], endianness: Endianness)
serialize this value into the given buffer using the given endianness. Read more
source§fn binary_deserialize(
    buf: &[u8],
    endianness: Endianness
) -> Result<Self, DeserializeError>
 
fn binary_deserialize( buf: &[u8], endianness: Endianness ) -> Result<Self, DeserializeError>
deserializes the given buffer using the given endianness into a value of this type. Read more
source§fn binary_serialize_to_array(
    &self,
    endianness: Endianness
) -> Self::RecursiveArray
 
fn binary_serialize_to_array( &self, endianness: Endianness ) -> Self::RecursiveArray
serialize this value to a fixed size array using the given endianness.
source§impl Clone for SymbolType
 
impl Clone for SymbolType
source§fn clone(&self) -> SymbolType
 
fn clone(&self) -> SymbolType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for SymbolType
 
impl Debug for SymbolType
source§impl Hash for SymbolType
 
impl Hash for SymbolType
source§impl PartialEq for SymbolType
 
impl PartialEq for SymbolType
source§fn eq(&self, other: &SymbolType) -> bool
 
fn eq(&self, other: &SymbolType) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for SymbolType
impl Eq for SymbolType
impl StructuralEq for SymbolType
impl StructuralPartialEq for SymbolType
Auto Trait Implementations§
impl RefUnwindSafe for SymbolType
impl Send for SymbolType
impl Sync for SymbolType
impl Unpin for SymbolType
impl UnwindSafe for SymbolType
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