#[repr(C)]pub struct GameSettingCollection {
pub __base: SettingCollectionMap<Setting>,
}
Expand description
Represents the game’s settings collection.
Inherits from SettingCollectionMap<Setting>
.
§Memory Layout:
__base
: Base classSettingCollectionMap<Setting>
handle
: Handle used for settings management
Fields§
§__base: SettingCollectionMap<Setting>
Implementations§
Source§impl GameSettingCollection
impl GameSettingCollection
Sourcepub const RTTI: VariantID = RTTI_GameSettingCollection
pub const RTTI: VariantID = RTTI_GameSettingCollection
Address & Offset of the runtime type information (RTTI) identifier.
Sourcepub const VTABLE: [VariantID; 1] = VTABLE_GameSettingCollection
pub const VTABLE: [VariantID; 1] = VTABLE_GameSettingCollection
Address & Offset of the virtual function table.
Sourcepub fn get_singleton() -> Option<&'static GameSettingCollection>
pub fn get_singleton() -> Option<&'static GameSettingCollection>
Gets the singleton instance of GameSettingCollection
.
pub fn to_hashmap(&self) -> HashMap<&str, SettingValue<'_>>
Trait Implementations§
Source§impl Clone for GameSettingCollection
impl Clone for GameSettingCollection
Source§fn clone(&self) -> GameSettingCollection
fn clone(&self) -> GameSettingCollection
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GameSettingCollection
impl Debug for GameSettingCollection
Source§impl PartialEq for GameSettingCollection
impl PartialEq for GameSettingCollection
impl StructuralPartialEq for GameSettingCollection
Auto Trait Implementations§
impl Freeze for GameSettingCollection
impl RefUnwindSafe for GameSettingCollection
impl !Send for GameSettingCollection
impl !Sync for GameSettingCollection
impl Unpin for GameSettingCollection
impl UnwindSafe for GameSettingCollection
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