[][src]Struct smash::resource::LoadedArc

#[repr(C)]pub struct LoadedArc {
    pub magic: u64,
    pub music_data_offset: u64,
    pub file_data_offset: u64,
    pub file_data_offset_2: u64,
    pub fs_offset: u64,
    pub fs_search_offset: u64,
    pub unk_offset: u64,
    pub loaded_fs: *const (),
    pub loaded_fs_2: *const (),
    pub region_entry: *const (),
    pub file_path_buckets: *const (),
    pub file_path_to_index_hash_group: *const (),
    pub file_info_path: *const FileInfoPath,
    pub file_info_idx: *const FileInfoIndex,
    pub dir_hash_group: *const (),
    pub dir_list: *const (),
    pub dir_offset: *const (),
    pub dir_child_hash_group: *const (),
    pub file_info: *const FileInfo,
    pub file_info_sub_index: *const FileInfoSubIndex,
    pub sub_files: *const SubFile,
}

Fields

magic: u64music_data_offset: u64file_data_offset: u64file_data_offset_2: u64fs_offset: u64fs_search_offset: u64unk_offset: u64loaded_fs: *const ()loaded_fs_2: *const ()region_entry: *const ()file_path_buckets: *const ()file_path_to_index_hash_group: *const ()file_info_path: *const FileInfoPathfile_info_idx: *const FileInfoIndexdir_hash_group: *const ()dir_list: *const ()dir_offset: *const ()dir_child_hash_group: *const ()file_info: *const FileInfofile_info_sub_index: *const FileInfoSubIndexsub_files: *const SubFile

Methods

impl LoadedArc[src]

pub fn get_subfile_by_t1_index(&self, t1_index: u32) -> &mut SubFile[src]

pub fn lookup_fileinfopath_by_t1_index(
    &self,
    t1_index: u32
) -> &mut FileInfoPath
[src]

pub fn lookup_fileinfoindex_by_t1_index(
    &self,
    t1_index: u32
) -> &mut FileInfoIndex
[src]

pub fn lookup_file_information_by_t1_index(
    &self,
    t1_index: u32
) -> &mut FileInfo
[src]

pub fn lookup_fileinfosubindex_by_index(
    &self,
    sub_index_index: u32
) -> &mut FileInfoSubIndex
[src]

Auto Trait Implementations

impl RefUnwindSafe for LoadedArc

impl !Send for LoadedArc

impl !Sync for LoadedArc

impl Unpin for LoadedArc

impl UnwindSafe for LoadedArc

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.