[][src]Struct smash_arc::FileSystem

pub struct FileSystem {
    pub fs_header: FileSystemHeader,
    pub stream_header: StreamHeader,
    pub quick_dirs: Vec<QuickDir>,
    pub stream_hash_to_entries: Vec<HashToIndex>,
    pub stream_entries: Vec<StreamEntry>,
    pub stream_file_indices: Vec<u32>,
    pub stream_datas: Vec<StreamData>,
    pub file_info_buckets: Vec<FileInfoBucket>,
    pub file_hash_to_path_index: Vec<HashToIndex>,
    pub file_paths: Vec<FilePath>,
    pub file_info_indices: Vec<FileInfoIndex>,
    pub dir_hash_to_info_index: Vec<HashToIndex>,
    pub dir_infos: Vec<DirInfo>,
    pub folder_offsets: Vec<DirectoryOffset>,
    pub folder_child_hashes: Vec<HashToIndex>,
    pub file_infos: Vec<FileInfo>,
    pub file_info_to_datas: Vec<FileInfoToFileData>,
    pub file_datas: Vec<FileData>,
}

The filesystem itself. Includes all the linking between paths, file data, directories, and mass-loading groups.

Fields

fs_header: FileSystemHeaderstream_header: StreamHeaderquick_dirs: Vec<QuickDir>stream_hash_to_entries: Vec<HashToIndex>stream_entries: Vec<StreamEntry>stream_file_indices: Vec<u32>stream_datas: Vec<StreamData>file_info_buckets: Vec<FileInfoBucket>file_hash_to_path_index: Vec<HashToIndex>file_paths: Vec<FilePath>file_info_indices: Vec<FileInfoIndex>dir_hash_to_info_index: Vec<HashToIndex>dir_infos: Vec<DirInfo>folder_offsets: Vec<DirectoryOffset>folder_child_hashes: Vec<HashToIndex>file_infos: Vec<FileInfo>file_info_to_datas: Vec<FileInfoToFileData>file_datas: Vec<FileData>

Trait Implementations

impl BinRead for FileSystem[src]

type Args = ()

The type of arguments needed to be supplied in order to read this type, usually a tuple. Read more

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