#[repr(C)]pub struct InventoryMenu {
pub __base: IMenu,
}
Expand description
- menuDepth:
0
- flags:
PausesGame | DisablePauseMenu | UpdateUsesCursor | InventoryItemMenu | CustomRendering
- context:
None
Fields§
§__base: IMenu
Implementations§
Source§impl InventoryMenu
impl InventoryMenu
Sourcepub const RTTI: VariantID = RTTI_InventoryMenu
pub const RTTI: VariantID = RTTI_InventoryMenu
Address & offset of the runtime type information (RTTI) identifier.
Sourcepub fn get_runtime_data(&self) -> Result<&RUNTIME_DATA, RelocationError>
pub fn get_runtime_data(&self) -> Result<&RUNTIME_DATA, RelocationError>
Gets fields whose offset is determined at runtime.
§Errors
This function may return an error if the module’s runtime is not available or if any error occurs while fetching the runtime state.
Specifically, it calls ModuleState::map_active
, which could result in an error.
Sourcepub fn get_runtime_data_mut(
&mut self,
) -> Result<&mut RUNTIME_DATA, RelocationError>
pub fn get_runtime_data_mut( &mut self, ) -> Result<&mut RUNTIME_DATA, RelocationError>
Gets mutable fields whose offset is determined at runtime.
§Errors
This function may return an error if the module’s runtime is not available or if any error occurs while fetching the runtime state.
Specifically, it calls ModuleState::map_active_mut
, which could result in an error.
Trait Implementations§
Source§impl Debug for InventoryMenu
impl Debug for InventoryMenu
Source§impl HasMenuName for InventoryMenu
impl HasMenuName for InventoryMenu
Auto Trait Implementations§
impl !Freeze for InventoryMenu
impl RefUnwindSafe for InventoryMenu
impl !Send for InventoryMenu
impl !Sync for InventoryMenu
impl Unpin for InventoryMenu
impl UnwindSafe for InventoryMenu
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