Enum elflib::RelInfoRegular
source · 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 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 RelInfoRegular
impl Debug for RelInfoRegular
source§impl Hash for RelInfoRegular
impl Hash for RelInfoRegular
source§impl PartialEq for RelInfoRegular
impl PartialEq for RelInfoRegular
source§fn eq(&self, other: &RelInfoRegular) -> bool
fn eq(&self, other: &RelInfoRegular) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)