[][src]Struct smash::resource::LoadedTables

#[repr(C)]pub struct LoadedTables {
    pub mutex: *mut MutexType,
    pub table1: *mut Table1Entry,
    pub table2: *mut Table2Entry,
    pub table1_len: u32,
    pub table2_len: u32,
    pub table1_count: u32,
    pub table2_count: u32,
    pub table1_list: CppVector<u32>,
    pub loaded_directory_table: *const (),
    pub loaded_directory_table_size: u32,
    pub unk2: u32,
    pub unk3: CppVector<u32>,
    pub unk4: u8,
    pub unk5: [u8; 7],
    pub addr: *const (),
    pub loaded_data: &'static mut LoadedData,
    pub version: u32,
}

Fields

mutex: *mut MutexTypetable1: *mut Table1Entrytable2: *mut Table2Entrytable1_len: u32table2_len: u32table1_count: u32table2_count: u32table1_list: CppVector<u32>loaded_directory_table: *const ()loaded_directory_table_size: u32unk2: u32unk3: CppVector<u32>unk4: u8unk5: [u8; 7]addr: *const ()loaded_data: &'static mut LoadedDataversion: u32

Methods

impl LoadedTables[src]

pub fn get_arc(&self) -> &LoadedArc[src]

pub fn get_arc_mut(&mut self) -> &mut LoadedArc[src]

pub fn get_search_mut(&mut self) -> &LoadedSearch[src]

pub fn get_instance() -> &'static mut Self[src]

pub fn get_hash_from_t1_index(&self, t1_index: u32) -> Hash40[src]

pub fn table_1(&self) -> &[Table1Entry][src]

pub fn table_1_mut(&mut self) -> &mut [Table1Entry][src]

pub fn table_2(&self) -> &[Table2Entry][src]

pub fn table_2_mut(&mut self) -> &mut [Table2Entry][src]

pub fn get_t1_mut(
    &mut self,
    t1_index: u32
) -> Result<&mut Table1Entry, LoadError>
[src]

pub fn get_t2(&self, t1_index: u32) -> Result<&Table2Entry, LoadError>[src]

pub fn get_t2_mut(
    &mut self,
    t1_index: u32
) -> Result<&mut Table2Entry, LoadError>
[src]

Auto Trait Implementations

impl RefUnwindSafe for LoadedTables

impl !Send for LoadedTables

impl !Sync for LoadedTables

impl Unpin for LoadedTables

impl !UnwindSafe for LoadedTables

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.