pub struct GnuHashTable {
pub bucket_count: u32,
pub bloom_count: u32,
pub bloom_shift: u32,
pub symbol_base: u32,
pub symbol_count: u32,
}Expand description
Information required for writing elf::GnuHashHeader.
Fields§
§bucket_count: u32§bloom_count: u32§bloom_shift: u32§symbol_base: u32§symbol_count: u32Implementations§
Source§impl GnuHashTable
impl GnuHashTable
Sourcepub fn from_raw<E: Endian>(
endian: E,
header: &GnuHashHeader<E>,
symbol_count: u32,
) -> Self
pub fn from_raw<E: Endian>( endian: E, header: &GnuHashHeader<E>, symbol_count: u32, ) -> Self
Convert from a raw GNU hash header.
symbol_count is the number of symbols in the hash. This is used in
Encoder::gnu_hash_table and is not stored in the header.
Trait Implementations§
Source§impl Clone for GnuHashTable
impl Clone for GnuHashTable
Source§fn clone(&self) -> GnuHashTable
fn clone(&self) -> GnuHashTable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GnuHashTable
impl RefUnwindSafe for GnuHashTable
impl Send for GnuHashTable
impl Sync for GnuHashTable
impl Unpin for GnuHashTable
impl UnsafeUnpin for GnuHashTable
impl UnwindSafe for GnuHashTable
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