#[repr(C)]pub struct SettingCollection<T> {
pub vtable: *const SettingCollectionVtbl<T>,
pub subKey: [u8; 260],
pub handle: *mut c_void,
}
Expand description
Represents a collection of settings.
This struct corresponds to the SettingCollection<T>
C++ template class.
§Memory Layout:
sub_key
: 260 byteshandle
: Pointer to the handle (0x110)
Fields§
§vtable: *const SettingCollectionVtbl<T>
§subKey: [u8; 260]
§handle: *mut c_void
Trait Implementations§
Source§impl<T: Clone> Clone for SettingCollection<T>
impl<T: Clone> Clone for SettingCollection<T>
Source§fn clone(&self) -> SettingCollection<T>
fn clone(&self) -> SettingCollection<T>
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<T: Debug> Debug for SettingCollection<T>
impl<T: Debug> Debug for SettingCollection<T>
Source§impl<T: Ord> Ord for SettingCollection<T>
impl<T: Ord> Ord for SettingCollection<T>
Source§fn cmp(&self, other: &SettingCollection<T>) -> Ordering
fn cmp(&self, other: &SettingCollection<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialEq> PartialEq for SettingCollection<T>
impl<T: PartialEq> PartialEq for SettingCollection<T>
Source§impl<T: PartialOrd> PartialOrd for SettingCollection<T>
impl<T: PartialOrd> PartialOrd for SettingCollection<T>
Source§impl<T> SettingCollectionTrait<T> for SettingCollection<T>
impl<T> SettingCollectionTrait<T> for SettingCollection<T>
Source§fn insert_setting(&mut self, _setting: &mut T)
fn insert_setting(&mut self, _setting: &mut T)
Inserts a setting into the collection. Read more
Source§fn remove_setting(&mut self, _setting: &mut T)
fn remove_setting(&mut self, _setting: &mut T)
Removes a setting from the collection. Read more
Source§fn write_setting(&mut self, _setting: &mut T) -> bool
fn write_setting(&mut self, _setting: &mut T) -> bool
Writes a setting to the collection. Read more
Source§fn read_setting(&mut self, _setting: &mut T) -> bool
fn read_setting(&mut self, _setting: &mut T) -> bool
Reads a setting from the collection. Read more
Source§fn open_handle(&mut self, _create: bool) -> bool
fn open_handle(&mut self, _create: bool) -> bool
Opens the handle for the collection. Read more
Source§fn close_handle(&mut self) -> bool
fn close_handle(&mut self) -> bool
Closes the handle for the collection. Read more
Source§fn write_all_settings(&mut self)
fn write_all_settings(&mut self)
Writes all settings.
Source§fn read_all_settings(&mut self)
fn read_all_settings(&mut self)
Reads all settings.
impl<T: Eq> Eq for SettingCollection<T>
impl<T> StructuralPartialEq for SettingCollection<T>
Auto Trait Implementations§
impl<T> Freeze for SettingCollection<T>
impl<T> RefUnwindSafe for SettingCollection<T>
impl<T> !Send for SettingCollection<T>
impl<T> !Sync for SettingCollection<T>
impl<T> Unpin for SettingCollection<T>
impl<T> UnwindSafe for SettingCollection<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