pub enum Rel {
RelMips64(RelMips64),
RelRegular(RelRegular),
}
Variants§
RelMips64(RelMips64)
RelRegular(RelRegular)
Implementations§
source§impl Rel
impl Rel
pub fn offset(&self) -> u64
pub fn set_offset(&mut self, new_value: u64)
pub fn to_generic_rel(self) -> GenericRel
Trait Implementations§
source§impl From<Rel> for GenericRel
impl From<Rel> for GenericRel
source§impl<'a> VariantStructBinarySerde<'a> for Rel
impl<'a> VariantStructBinarySerde<'a> for Rel
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 Rel
impl StructuralPartialEq for Rel
Auto Trait Implementations§
impl Freeze for Rel
impl RefUnwindSafe for Rel
impl Send for Rel
impl Sync for Rel
impl Unpin for Rel
impl UnwindSafe for Rel
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