Struct red4ext_rs::types::NativeGameInstance
source · pub struct NativeGameInstance(/* private fields */);
Expand description
Native game instance.
Please note that it differs from Redscript and Lua’s GameInstance
,
see GameInstance
.
Implementations§
source§impl NativeGameInstance
impl NativeGameInstance
pub fn get_system(&self, ty: &Type) -> Ref<ScriptableSystem>
Trait Implementations§
source§impl Default for NativeGameInstance
impl Default for NativeGameInstance
source§fn default() -> NativeGameInstance
fn default() -> NativeGameInstance
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NativeGameInstance
impl !RefUnwindSafe for NativeGameInstance
impl !Send for NativeGameInstance
impl !Sync for NativeGameInstance
impl Unpin for NativeGameInstance
impl !UnwindSafe for NativeGameInstance
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