Trait object::read::elf::CompressionHeader [−][src]
pub trait CompressionHeader: Debug + Pod { type Word: Into<u64>; type Endian: Endian; fn ch_type(&self, endian: Self::Endian) -> u32; fn ch_size(&self, endian: Self::Endian) -> Self::Word; fn ch_addralign(&self, endian: Self::Endian) -> Self::Word; }
A trait for generic access to CompressionHeader32
and CompressionHeader64
.
Associated Types
Loading content...Required methods
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]
Implementors
impl<Endian: Endian> CompressionHeader for CompressionHeader32<Endian>
[src]
impl<Endian: Endian> CompressionHeader for CompressionHeader32<Endian>
[src]