[][src]Struct smash::resource::ResServiceState

#[repr(C)]pub struct ResServiceState {
    pub mutex: *mut MutexType,
    pub res_update_event: *mut EventType,
    pub io_swap_event: *mut EventType,
    pub semaphore1: *const (),
    pub semaphore2: *const (),
    pub res_update_thread: *mut ThreadType,
    pub res_loading_thread: *mut ThreadType,
    pub res_inflate_thread: *mut ThreadType,
    pub loaded_tables: *mut LoadedTables,
    pub unk_region_idx: u32,
    pub regular_region_idx: u32,
    pub state: i16,
    pub is_loader_thread_running: bool,
    pub data_arc_string: [u8; 256],
    pub data_arc_filenx: *mut FileNX,
    pub buffer_size: usize,
    pub buffer_array: [*const c_void; 2],
    pub buffer_array_idx: u32,
    pub data_ptr: *const c_void,
    pub offset_into_read: u64,
    // some fields omitted
}

Fields

mutex: *mut MutexTyperes_update_event: *mut EventTypeio_swap_event: *mut EventTypesemaphore1: *const ()semaphore2: *const ()res_update_thread: *mut ThreadTyperes_loading_thread: *mut ThreadTyperes_inflate_thread: *mut ThreadTypeloaded_tables: *mut LoadedTablesunk_region_idx: u32regular_region_idx: u32state: i16is_loader_thread_running: booldata_arc_string: [u8; 256]data_arc_filenx: *mut FileNXbuffer_size: usizebuffer_array: [*const c_void; 2]buffer_array_idx: u32data_ptr: *const c_voidoffset_into_read: u64

Methods

impl ResServiceState[src]

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

Auto Trait Implementations

impl RefUnwindSafe for ResServiceState

impl !Send for ResServiceState

impl !Sync for ResServiceState

impl Unpin for ResServiceState

impl UnwindSafe for ResServiceState

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.