pub enum RelInfoRegular {
RelInfoRegular32(RelInfoRegular32),
RelInfoRegular64(RelInfoRegular64),
}Variants§
RelInfoRegular32(RelInfoRegular32)
RelInfoRegular64(RelInfoRegular64)
Implementations§
Source§impl RelInfoRegular
impl RelInfoRegular
pub fn symbol_index(&self) -> u32
pub fn symbol_index_mut(&mut self) -> &mut u32
pub fn set_symbol_index(&mut self, new_value: u32)
pub fn ty(&self) -> RelocationType
pub fn set_ty(&mut self, new_value: RelocationType)
Trait Implementations§
Source§impl Clone for RelInfoRegular
impl Clone for RelInfoRegular
Source§fn clone(&self) -> RelInfoRegular
fn clone(&self) -> RelInfoRegular
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 RelInfoRegular
impl Debug for RelInfoRegular
Source§impl Hash for RelInfoRegular
impl Hash for RelInfoRegular
Source§impl PartialEq for RelInfoRegular
impl PartialEq for RelInfoRegular
Source§impl<'a> VariantStructBinarySerde<'a> for RelInfoRegular
impl<'a> VariantStructBinarySerde<'a> for RelInfoRegular
type Context = ()
fn deserialize( deserializer: &mut BinaryDeserializerFromBufSafe<'a>, parser: &ElfParser<'a>, context: (), ) -> Result<Self, BinarySerdeBufSafeError>
fn record_len(file_info: &ElfFileInfo) -> usize
fn serialize(&self, buf: &mut [u8], endianness: Endianness)
impl Eq for RelInfoRegular
impl StructuralPartialEq for RelInfoRegular
Auto Trait Implementations§
impl Freeze for RelInfoRegular
impl RefUnwindSafe for RelInfoRegular
impl Send for RelInfoRegular
impl Sync for RelInfoRegular
impl Unpin for RelInfoRegular
impl UnwindSafe for RelInfoRegular
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