[][src]Struct hpkg::repository::RepositoryHeader

#[repr(C)]pub struct RepositoryHeader {
    pub magic: u32,
    pub header_size: u16,
    pub version: u16,
    pub total_size: u64,
    pub minor_version: u16,
    pub heap_compression: u16,
    pub heap_chunk_size: u32,
    pub heap_size_compressed: u64,
    pub heap_size_uncompressed: u64,
    pub info_length: u32,
    pub reserved1: u32,
    pub package_length: u64,
    pub package_strings_length: u64,
    pub package_strings_count: u64,
}

Fields

magic: u32header_size: u16version: u16total_size: u64minor_version: u16heap_compression: u16heap_chunk_size: u32heap_size_compressed: u64heap_size_uncompressed: u64info_length: u32reserved1: u32package_length: u64package_strings_length: u64package_strings_count: u64

Trait Implementations

impl Clone for RepositoryHeader[src]

impl Debug for RepositoryHeader[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.