Struct smash_arc::FileSystem
source · pub struct FileSystem {Show 18 fields
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>,
}
Expand description
The filesystem itself. Includes all the linking between paths, file data, directories, and mass-loading groups.
Fields§
§fs_header: FileSystemHeader
§stream_header: StreamHeader
§quick_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§
source§impl BinRead for FileSystem
impl BinRead for FileSystem
source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_> ) -> BinResult<Self>
source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
big-endian byte order. Read moresource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
little-endian byte order. Read moresource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T
from the reader assuming native-endian byte order. Read moresource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader, assuming big-endian byte order, using the
given arguments. Read moresource§fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_le_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader, assuming little-endian byte order, using
the given arguments. Read moreAuto Trait Implementations§
impl RefUnwindSafe for FileSystem
impl Send for FileSystem
impl Sync for FileSystem
impl Unpin for FileSystem
impl UnwindSafe for FileSystem
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more