[][src]Struct smash_arc::LoadedArc

#[repr(C)]pub struct LoadedArc {
    pub magic: u64,
    pub stream_section_offset: u64,
    pub file_section_offset: u64,
    pub shared_section_offset: u64,
    pub file_system_offset: u64,
    pub file_system_search_offset: u64,
    pub padding: u64,
    pub uncompressed_fs: *const FileSystemHeader,
    pub fs_header: *const FileSystemHeader,
    pub region_entry: u64,
    pub file_info_buckets: *const FileInfoBucket,
    pub file_hash_to_path_index: *const HashToIndex,
    pub file_paths: *const FilePath,
    pub file_info_indices: *const FileInfoIndex,
    pub dir_hash_to_info_index: *const HashToIndex,
    pub dir_infos: *const DirInfo,
    pub folder_offsets: *const DirectoryOffset,
    pub folder_child_hashes: *const HashToIndex,
    pub file_infos: *mut FileInfo,
    pub file_info_to_datas: *const FileInfoToFileData,
    pub file_datas: *mut FileData,
    pub unk_section: u64,
    pub stream_header: *const StreamHeader,
    pub quick_dirs: *const QuickDir,
    pub stream_hash_to_entries: *const HashToIndex,
    pub stream_entries: *const StreamEntry,
    pub stream_file_indices: *const u32,
    pub stream_datas: *const StreamData,
    pub extra_buckets: *const FileInfoBucket,
    pub extra_entries: u64,
    pub extra_folder_offsets: *const DirectoryOffset,
    pub extra_entry_vector: [u64; 3],
    pub version: u32,
    pub extra_count: u32,
    pub loaded_file_system_search: *const LoadedSearchSection,
}

Fields

magic: u64stream_section_offset: u64file_section_offset: u64shared_section_offset: u64file_system_offset: u64file_system_search_offset: u64

Not too sure about that one

padding: u64uncompressed_fs: *const FileSystemHeaderfs_header: *const FileSystemHeaderregion_entry: u64

Not too sure about that one

file_info_buckets: *const FileInfoBucketfile_hash_to_path_index: *const HashToIndexfile_paths: *const FilePathfile_info_indices: *const FileInfoIndexdir_hash_to_info_index: *const HashToIndexdir_infos: *const DirInfofolder_offsets: *const DirectoryOffsetfolder_child_hashes: *const HashToIndexfile_infos: *mut FileInfofile_info_to_datas: *const FileInfoToFileDatafile_datas: *mut FileDataunk_section: u64stream_header: *const StreamHeaderquick_dirs: *const QuickDirstream_hash_to_entries: *const HashToIndexstream_entries: *const StreamEntrystream_file_indices: *const u32stream_datas: *const StreamDataextra_buckets: *const FileInfoBucketextra_entries: u64extra_folder_offsets: *const DirectoryOffsetextra_entry_vector: [u64; 3]version: u32extra_count: u32loaded_file_system_search: *const LoadedSearchSection

Implementations

impl LoadedArc[src]

pub fn open() -> BinResult<ArcFile>[src]

pub fn from_reader<R: SeekRead + 'static>(mut reader: R) -> BinResult<ArcFile>[src]

Trait Implementations

impl ArcLookup for LoadedArc[src]

fn get_file_info_buckets(&self) -> &[FileInfoBucket][src]

Requires testing

fn get_file_hash_to_path_index(&self) -> &[HashToIndex][src]

Most likely incorrect

impl Debug for LoadedArc[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, 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.