[−][src]Struct object::elf::CompressionHeader64
Section compression header.
Used when SHF_COMPRESSED
is set.
Note: this type currently allows for misaligned headers, but that may be changed in a future version.
Fields
ch_type: U32Bytes<E>
Compression format. One of the ELFCOMPRESS_*
values.
ch_reserved: U32Bytes<E>
Reserved.
ch_size: U64Bytes<E>
Uncompressed data size.
ch_addralign: U64Bytes<E>
Uncompressed data alignment.
Trait Implementations
impl<E: Clone + Endian> Clone for CompressionHeader64<E>
[src]
fn clone(&self) -> CompressionHeader64<E>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Endian: Endian> CompressionHeader for CompressionHeader64<Endian>
[src]
type Word = u64
type Endian = Endian
fn ch_type(&self, endian: Self::Endian) -> u32
[src]
fn ch_size(&self, endian: Self::Endian) -> Self::Word
[src]
fn ch_addralign(&self, endian: Self::Endian) -> Self::Word
[src]
impl<E: Copy + Endian> Copy for CompressionHeader64<E>
[src]
impl<E: Debug + Endian> Debug for CompressionHeader64<E>
[src]
impl<E: Default + Endian> Default for CompressionHeader64<E>
[src]
fn default() -> CompressionHeader64<E>
[src]
impl<E: Endian> Pod for CompressionHeader64<E>
[src]
Auto Trait Implementations
impl<E> Send for CompressionHeader64<E> where
E: Send,
E: Send,
impl<E> Sync for CompressionHeader64<E> where
E: Sync,
E: Sync,
impl<E> Unpin for CompressionHeader64<E> where
E: Unpin,
E: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,