Expand description
Dynamic section entry.
Fields
d_tag: U64<E>
Dynamic entry type.
d_val: U64<E>
Value (integer or address).
Trait Implementations
sourceimpl<Endian: Endian> Dyn for Dyn64<Endian>
impl<Endian: Endian> Dyn for Dyn64<Endian>
type Word = u64
type Endian = Endian
fn d_tag(&self, endian: Self::Endian) -> Self::Word
fn d_val(&self, endian: Self::Endian) -> Self::Word
sourcefn is_string(&self, endian: Self::Endian) -> bool
fn is_string(&self, endian: Self::Endian) -> bool
Return true if the value is an offset in the dynamic string table.
sourcefn string<'data>(
&self,
endian: Self::Endian,
strings: StringTable<'data>
) -> Result<&'data [u8]>
fn string<'data>(
&self,
endian: Self::Endian,
strings: StringTable<'data>
) -> Result<&'data [u8]>
Use the value to get a string in a string table. Read more
sourcefn is_address(&self, endian: Self::Endian) -> bool
fn is_address(&self, endian: Self::Endian) -> bool
Return true if the value is an address.
impl<E: Copy + Endian> Copy for Dyn64<E>
impl<E: Endian> Pod for Dyn64<E>
Auto Trait Implementations
impl<E> RefUnwindSafe for Dyn64<E> where
E: RefUnwindSafe,
impl<E> Send for Dyn64<E> where
E: Send,
impl<E> Sync for Dyn64<E> where
E: Sync,
impl<E> Unpin for Dyn64<E> where
E: Unpin,
impl<E> UnwindSafe for Dyn64<E> where
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more