#[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.
Source§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 duplicate 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
impl Copy for SymbolType
impl Eq for SymbolType
impl StructuralPartialEq for SymbolType
Auto Trait Implementations§
impl Freeze for SymbolType
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