Struct goblin::elf::compression_header::CompressionHeader
source · [−]Expand description
A unified CompressionHeader - convertable to and from 32-bit and 64-bit variants
Fields
ch_type: u32
Compression format
ch_size: u64
Uncompressed data size
ch_addralign: u64
Uncompressed data alignment
Implementations
Trait Implementations
sourceimpl Clone for CompressionHeader
impl Clone for CompressionHeader
sourcefn clone(&self) -> CompressionHeader
fn clone(&self) -> CompressionHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CompressionHeader
impl Debug for CompressionHeader
sourceimpl Default for CompressionHeader
impl Default for CompressionHeader
sourcefn default() -> CompressionHeader
fn default() -> CompressionHeader
Returns the “default value” for a type. Read more
sourceimpl From<CompressionHeader> for CompressionHeader
impl From<CompressionHeader> for CompressionHeader
sourcefn from(ch: ElfCompressionHeader) -> Self
fn from(ch: ElfCompressionHeader) -> Self
Converts to this type from the input type.
sourceimpl From<CompressionHeader> for CompressionHeader
impl From<CompressionHeader> for CompressionHeader
sourcefn from(ch: ElfCompressionHeader) -> Self
fn from(ch: ElfCompressionHeader) -> Self
Converts to this type from the input type.
sourceimpl From<CompressionHeader> for ElfCompressionHeader
impl From<CompressionHeader> for ElfCompressionHeader
sourcefn from(ch: CompressionHeader) -> Self
fn from(ch: CompressionHeader) -> Self
Converts to this type from the input type.
sourceimpl From<CompressionHeader> for ElfCompressionHeader
impl From<CompressionHeader> for ElfCompressionHeader
sourcefn from(ch: CompressionHeader) -> Self
fn from(ch: CompressionHeader) -> Self
Converts to this type from the input type.
sourceimpl IntoCtx<Ctx, [u8]> for CompressionHeader
impl IntoCtx<Ctx, [u8]> for CompressionHeader
sourceimpl PartialEq<CompressionHeader> for CompressionHeader
impl PartialEq<CompressionHeader> for CompressionHeader
sourcefn eq(&self, other: &CompressionHeader) -> bool
fn eq(&self, other: &CompressionHeader) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CompressionHeader) -> bool
fn ne(&self, other: &CompressionHeader) -> bool
This method tests for !=
.
sourceimpl<'a> TryFromCtx<'a, Ctx, [u8]> for CompressionHeader
impl<'a> TryFromCtx<'a, Ctx, [u8]> for CompressionHeader
sourceimpl TryIntoCtx<Ctx, [u8]> for CompressionHeader
impl TryIntoCtx<Ctx, [u8]> for CompressionHeader
impl StructuralPartialEq for CompressionHeader
Auto Trait Implementations
impl RefUnwindSafe for CompressionHeader
impl Send for CompressionHeader
impl Sync for CompressionHeader
impl Unpin for CompressionHeader
impl UnwindSafe for CompressionHeader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more