pub struct Il2cppList<T: Copy> {
pub klass: *mut c_void,
pub monitor: *mut c_void,
pub items: *mut Il2cppArray<T>,
pub size: i32,
pub version: i32,
/* private fields */
}Fields§
§klass: *mut c_voidPointer to the list class
monitor: *mut c_voidMonitor for synchronization
items: *mut Il2cppArray<T>Internal array of items
size: i32Number of elements in the list
version: i32Version of the list
Implementations§
Source§impl<T: Copy> Il2cppList<T>
impl<T: Copy> Il2cppList<T>
Sourcepub fn items_array(&self) -> Option<&Il2cppArray<T>>
pub fn items_array(&self) -> Option<&Il2cppArray<T>>
Gets the internal items array
§Returns
Option<&Il2cppArray<T>>- The underlying array, or None if null
Sourcepub fn items_array_mut(&mut self) -> Option<&mut Il2cppArray<T>>
pub fn items_array_mut(&mut self) -> Option<&mut Il2cppArray<T>>
Gets the internal items array as mutable
§Returns
Option<&mut Il2cppArray<T>>- The underlying mutable array, or None if null
Sourcepub fn get_pointer(&self) -> Option<*const T>
pub fn get_pointer(&self) -> Option<*const T>
Auto Trait Implementations§
impl<T> Freeze for Il2cppList<T>
impl<T> RefUnwindSafe for Il2cppList<T>where
T: RefUnwindSafe,
impl<T> !Send for Il2cppList<T>
impl<T> !Sync for Il2cppList<T>
impl<T> Unpin for Il2cppList<T>where
T: Unpin,
impl<T> UnsafeUnpin for Il2cppList<T>
impl<T> UnwindSafe for Il2cppList<T>where
T: UnwindSafe + RefUnwindSafe,
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