Struct object::elf::GnuHashHeader
source · #[repr(C)]pub struct GnuHashHeader<E: Endian> {
pub bucket_count: U32<E>,
pub symbol_base: U32<E>,
pub bloom_count: U32<E>,
pub bloom_shift: U32<E>,
}
Expand description
Header of SHT_GNU_HASH
section.
Fields§
§bucket_count: U32<E>
The number of hash buckets.
symbol_base: U32<E>
The symbol table index of the first symbol in the hash.
bloom_count: U32<E>
The number of words in the bloom filter.
Must be a non-zero power of 2.
bloom_shift: U32<E>
The bit shift count for the bloom filter.
Trait Implementations§
source§impl<E: Clone + Endian> Clone for GnuHashHeader<E>
impl<E: Clone + Endian> Clone for GnuHashHeader<E>
source§fn clone(&self) -> GnuHashHeader<E>
fn clone(&self) -> GnuHashHeader<E>
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 moreimpl<E: Copy + Endian> Copy for GnuHashHeader<E>
impl<E: Endian> Pod for GnuHashHeader<E>
Auto Trait Implementations§
impl<E> Freeze for GnuHashHeader<E>
impl<E> RefUnwindSafe for GnuHashHeader<E>where
E: RefUnwindSafe,
impl<E> Send for GnuHashHeader<E>where
E: Send,
impl<E> Sync for GnuHashHeader<E>where
E: Sync,
impl<E> Unpin for GnuHashHeader<E>where
E: Unpin,
impl<E> UnwindSafe for GnuHashHeader<E>where
E: UnwindSafe,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)