Struct Vernaux

struct Vernaux<E: Endian> { ... }

Auxiliary needed version information.

Fields

vna_hash: crate::endian::U32<E>

Hash value of dependency name

vna_flags: crate::endian::U16<E>

Dependency specific information

vna_other: crate::endian::U16<E>

Version Index

vna_name: crate::endian::U32<E>

Dependency name string offset

vna_next: crate::endian::U32<E>

Offset in bytes to next vernaux entry

Implementations

impl<Endian: endian::Endian> elf::Vernaux<Endian>

fn name<'data, R: ReadRef<'data>>(self: &Self, endian: Endian, strings: StringTable<'data, R>) -> Result<&'data [u8]>

Parse the version name from the string table.

impl<E> Freeze for Vernaux<E>

impl<E> RefUnwindSafe for Vernaux<E>

impl<E> Send for Vernaux<E>

impl<E> Sync for Vernaux<E>

impl<E> Unpin for Vernaux<E>

impl<E> UnwindSafe for Vernaux<E>

impl<E: $crate::clone::Clone + Endian> Clone for Vernaux<E>

fn clone(self: &Self) -> Vernaux<E>

impl<E: $crate::fmt::Debug + Endian> Debug for Vernaux<E>

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl<E: $crate::marker::Copy + Endian> Copy for Vernaux<E>

impl<E: Endian> Pod for Vernaux<E>

impl<T> Any for Vernaux<E>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Vernaux<E>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Vernaux<E>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Vernaux<E>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Vernaux<E>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Vernaux<E>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Vernaux<E>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Vernaux<E>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Vernaux<E>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>