Enum elflib::RelRegular
source · pub enum RelRegular {
RelRegular32(RelRegular32),
RelRegular64(RelRegular64),
}
Variants§
RelRegular32(RelRegular32)
RelRegular64(RelRegular64)
Implementations§
source§impl RelRegular
impl RelRegular
pub fn info(&self) -> RelInfoRegular64
pub fn set_info(&mut self, new_value: RelInfoRegular64)
pub fn offset(&self) -> u64
pub fn set_offset(&mut self, new_value: u64)
Trait Implementations§
source§impl Clone for RelRegular
impl Clone for RelRegular
source§fn clone(&self) -> RelRegular
fn clone(&self) -> RelRegular
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 RelRegular
impl Debug for RelRegular
source§impl Hash for RelRegular
impl Hash for RelRegular
source§impl PartialEq for RelRegular
impl PartialEq for RelRegular
source§fn eq(&self, other: &RelRegular) -> bool
fn eq(&self, other: &RelRegular) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> VariantStructBinarySerde<'a> for RelRegular
impl<'a> VariantStructBinarySerde<'a> for RelRegular
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 RelRegular
impl StructuralPartialEq for RelRegular
Auto Trait Implementations§
impl Freeze for RelRegular
impl RefUnwindSafe for RelRegular
impl Send for RelRegular
impl Sync for RelRegular
impl Unpin for RelRegular
impl UnwindSafe for RelRegular
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
)