#[repr(C)]pub struct Il2cppString {
pub klass: *mut c_void,
pub monitor: *mut c_void,
pub length: i32,
pub chars: [u16; 1],
}Expand description
Represents an IL2CPP String
Fields§
§klass: *mut c_voidPointer to the string class
monitor: *mut c_voidMonitor for synchronization
length: i32Length of the string (in characters, not bytes)
chars: [u16; 1]Start of the character array (UTF-16)
Implementations§
Trait Implementations§
Source§impl Clone for Il2cppString
impl Clone for Il2cppString
Source§fn clone(&self) -> Il2cppString
fn clone(&self) -> Il2cppString
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for Il2cppString
impl RefUnwindSafe for Il2cppString
impl !Send for Il2cppString
impl !Sync for Il2cppString
impl Unpin for Il2cppString
impl UnsafeUnpin for Il2cppString
impl UnwindSafe for Il2cppString
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