#[repr(C)]pub struct SettingCollectionVtbl<T> {
pub CxxDrop: fn(this: &mut SettingCollection<T>),
pub InsertSetting: fn(this: &mut SettingCollection<T>, setting: &mut T),
pub RemoveSetting: fn(this: &mut SettingCollection<T>, setting: &mut T),
pub WriteSetting: fn(this: &mut SettingCollection<T>, setting: &mut T) -> bool,
pub ReadSetting: fn(this: &mut SettingCollection<T>, setting: &mut T) -> bool,
pub OpenHandle: fn(this: &mut SettingCollection<T>, create: bool) -> bool,
pub CloseHandle: fn(this: &mut SettingCollection<T>) -> bool,
pub Unk_07: fn(this: &mut SettingCollection<T>),
pub WriteAllSettings: fn(this: &mut SettingCollection<T>),
pub ReadAllSettings: fn(this: &mut SettingCollection<T>),
}
Expand description
The virtual function table for SettingCollection<T>
.
This struct defines function pointers to simulate the C++ virtual functions.
Fields§
§CxxDrop: fn(this: &mut SettingCollection<T>)
Destructor function pointer.
InsertSetting: fn(this: &mut SettingCollection<T>, setting: &mut T)
§RemoveSetting: fn(this: &mut SettingCollection<T>, setting: &mut T)
§WriteSetting: fn(this: &mut SettingCollection<T>, setting: &mut T) -> bool
§ReadSetting: fn(this: &mut SettingCollection<T>, setting: &mut T) -> bool
§OpenHandle: fn(this: &mut SettingCollection<T>, create: bool) -> bool
§CloseHandle: fn(this: &mut SettingCollection<T>) -> bool
§Unk_07: fn(this: &mut SettingCollection<T>)
§WriteAllSettings: fn(this: &mut SettingCollection<T>)
§ReadAllSettings: fn(this: &mut SettingCollection<T>)
Implementations§
Source§impl<T> SettingCollectionVtbl<T>
impl<T> SettingCollectionVtbl<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SettingCollectionVtbl<T>
impl<T> RefUnwindSafe for SettingCollectionVtbl<T>
impl<T> Send for SettingCollectionVtbl<T>
impl<T> Sync for SettingCollectionVtbl<T>
impl<T> Unpin for SettingCollectionVtbl<T>
impl<T> UnwindSafe for SettingCollectionVtbl<T>
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