Struct GnuHashHeader

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

Header of SHT_GNU_HASH section.

Fields

bucket_count: crate::endian::U32<E>

The number of hash buckets.

symbol_base: crate::endian::U32<E>

The symbol table index of the first symbol in the hash.

bloom_count: crate::endian::U32<E>

The number of words in the bloom filter.

Must be a non-zero power of 2.

bloom_shift: crate::endian::U32<E>

The bit shift count for the bloom filter.

Implementations

impl<E> Freeze for GnuHashHeader<E>

impl<E> RefUnwindSafe for GnuHashHeader<E>

impl<E> Send for GnuHashHeader<E>

impl<E> Sync for GnuHashHeader<E>

impl<E> Unpin for GnuHashHeader<E>

impl<E> UnwindSafe for GnuHashHeader<E>

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

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

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

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

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

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

impl<T> Any for GnuHashHeader<E>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for GnuHashHeader<E>

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

impl<T> BorrowMut for GnuHashHeader<E>

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

impl<T> CloneToUninit for GnuHashHeader<E>

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

impl<T> From for GnuHashHeader<E>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for GnuHashHeader<E>

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

impl<T, U> Into for GnuHashHeader<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 GnuHashHeader<E>

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

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

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