Struct object::elf::HashHeader
source · #[repr(C)]pub struct HashHeader<E: Endian> {
pub bucket_count: U32<E>,
pub chain_count: U32<E>,
}
Expand description
Header of SHT_HASH
section.
Fields§
§bucket_count: U32<E>
The number of hash buckets.
chain_count: U32<E>
The number of chain values.
Trait Implementations§
source§impl<E: Clone + Endian> Clone for HashHeader<E>
impl<E: Clone + Endian> Clone for HashHeader<E>
source§fn clone(&self) -> HashHeader<E>
fn clone(&self) -> HashHeader<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 HashHeader<E>
impl<E: Endian> Pod for HashHeader<E>
Auto Trait Implementations§
impl<E> Freeze for HashHeader<E>
impl<E> RefUnwindSafe for HashHeader<E>where
E: RefUnwindSafe,
impl<E> Send for HashHeader<E>where
E: Send,
impl<E> Sync for HashHeader<E>where
E: Sync,
impl<E> Unpin for HashHeader<E>where
E: Unpin,
impl<E> UnwindSafe for HashHeader<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