Struct Il2CppString
pub struct Il2CppString(/* private fields */);Implementations§
§impl Il2CppString
impl Il2CppString
pub fn new(s: impl AsRef<str>) -> Il2CppString
pub fn null() -> Il2CppString
pub fn is_null(self) -> bool
pub fn len(self) -> usize
pub fn is_empty(self) -> bool
pub fn chars(self) -> &'static [u16]
pub fn to_rust_string(self) -> String
§impl Il2CppString
impl Il2CppString
pub fn starts_with_raw_method_info() -> &'static MethodInfo
pub fn contains_raw_method_info() -> &'static MethodInfo
pub fn replace_raw_method_info() -> &'static MethodInfo
pub fn to_lowercase_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
§impl Il2CppString
impl Il2CppString
pub fn starts_with<S>(self, value: S) -> boolwhere
S: Into<Il2CppString>,
pub fn contains<S>(self, value: S) -> boolwhere
S: Into<Il2CppString>,
pub fn replace<A, B>(self, old_value: A, new_value: B) -> Il2CppStringwhere
A: Into<Il2CppString>,
B: Into<Il2CppString>,
Trait Implementations§
§impl AsRef<IlInstance> for Il2CppString
impl AsRef<IlInstance> for Il2CppString
§fn as_ref(&self) -> &IlInstance
fn as_ref(&self) -> &IlInstance
Converts this type into a shared reference of the (usually inferred) input type.
§impl ClassIdentity for Il2CppString
impl ClassIdentity for Il2CppString
§impl Clone for Il2CppString
impl Clone for Il2CppString
§fn clone(&self) -> Il2CppString
fn clone(&self) -> Il2CppString
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Display for Il2CppString
impl Display for Il2CppString
§impl From<&str> for Il2CppString
impl From<&str> for Il2CppString
§fn from(s: &str) -> Il2CppString
fn from(s: &str) -> Il2CppString
Converts to this type from the input type.
§impl From<Il2CppString> for IlInstance
impl From<Il2CppString> for IlInstance
§fn from(s: Il2CppString) -> IlInstance
fn from(s: Il2CppString) -> IlInstance
Converts to this type from the input type.
§impl From<String> for Il2CppString
impl From<String> for Il2CppString
§fn from(s: String) -> Il2CppString
fn from(s: String) -> Il2CppString
Converts to this type from the input type.
§impl FromIlInstance for Il2CppString
impl FromIlInstance for Il2CppString
fn from_il_instance(instance: IlInstance) -> Il2CppString
fn instantiate() -> Option<Self>
§fn instantiate_with_class(class: Class) -> Option<Self>
fn instantiate_with_class(class: Class) -> Option<Self>
Caller swears
class is a subtype of Self or layout compatibleSource§impl IDictionary_2<Il2CppString, GameUserRestartData_Growth> for GameUserRestartData_GrowthWriter
impl IDictionary_2<Il2CppString, GameUserRestartData_Growth> for GameUserRestartData_GrowthWriter
fn buckets(self) -> Array<i32>
fn set_buckets(self, value: Array<i32>)
fn entries(self) -> Array<Dictionary_2_Entry<T0, T1>>
fn set_entries(self, value: Array<Dictionary_2_Entry<T0, T1>>)
fn count(self) -> i32
fn set_count(self, value: i32)
fn version(self) -> i32
fn set_version(self, value: i32)
fn free_list(self) -> i32
fn set_free_list(self, value: i32)
fn free_count(self) -> i32
fn set_free_count(self, value: i32)
fn comparer(self) -> IEqualityComparer_1_Interface<T0>
fn set_comparer(self, value: IEqualityComparer_1_Interface<T0>)
fn keys(self) -> Dictionary_2_KeyCollection<T0, T1>
fn set_keys(self, value: Dictionary_2_KeyCollection<T0, T1>)
fn values(self) -> Dictionary_2_ValueCollection<T0, T1>
fn set_values(self, value: Dictionary_2_ValueCollection<T0, T1>)
fn sync_root(self) -> IlInstance
fn set_sync_root(self, value: IlInstance)
Source§impl IDictionary_2<Il2CppString, i32> for GameUserRestartData_RecordWriter
impl IDictionary_2<Il2CppString, i32> for GameUserRestartData_RecordWriter
fn buckets(self) -> Array<i32>
fn set_buckets(self, value: Array<i32>)
fn entries(self) -> Array<Dictionary_2_Entry<T0, T1>>
fn set_entries(self, value: Array<Dictionary_2_Entry<T0, T1>>)
fn count(self) -> i32
fn set_count(self, value: i32)
fn version(self) -> i32
fn set_version(self, value: i32)
fn free_list(self) -> i32
fn set_free_list(self, value: i32)
fn free_count(self) -> i32
fn set_free_count(self, value: i32)
fn comparer(self) -> IEqualityComparer_1_Interface<T0>
fn set_comparer(self, value: IEqualityComparer_1_Interface<T0>)
fn keys(self) -> Dictionary_2_KeyCollection<T0, T1>
fn set_keys(self, value: Dictionary_2_KeyCollection<T0, T1>)
fn values(self) -> Dictionary_2_ValueCollection<T0, T1>
fn set_values(self, value: Dictionary_2_ValueCollection<T0, T1>)
fn sync_root(self) -> IlInstance
fn set_sync_root(self, value: IlInstance)
Source§impl IDictionary_2<Il2CppString, i32> for GameUserRestartData_VariableWriter
impl IDictionary_2<Il2CppString, i32> for GameUserRestartData_VariableWriter
fn buckets(self) -> Array<i32>
fn set_buckets(self, value: Array<i32>)
fn entries(self) -> Array<Dictionary_2_Entry<T0, T1>>
fn set_entries(self, value: Array<Dictionary_2_Entry<T0, T1>>)
fn count(self) -> i32
fn set_count(self, value: i32)
fn version(self) -> i32
fn set_version(self, value: i32)
fn free_list(self) -> i32
fn set_free_list(self, value: i32)
fn free_count(self) -> i32
fn set_free_count(self, value: i32)
fn comparer(self) -> IEqualityComparer_1_Interface<T0>
fn set_comparer(self, value: IEqualityComparer_1_Interface<T0>)
fn keys(self) -> Dictionary_2_KeyCollection<T0, T1>
fn set_keys(self, value: Dictionary_2_KeyCollection<T0, T1>)
fn values(self) -> Dictionary_2_ValueCollection<T0, T1>
fn set_values(self, value: Dictionary_2_ValueCollection<T0, T1>)
fn sync_root(self) -> IlInstance
fn set_sync_root(self, value: IlInstance)
Source§impl IUnityEvent_1<Il2CppString> for InputField_OnChangeEvent
impl IUnityEvent_1<Il2CppString> for InputField_OnChangeEvent
fn m_invoke_array(self) -> Array<Object>
fn set_m_invoke_array(self, value: Array<Object>)
Source§impl IUnityEvent_1<Il2CppString> for InputField_SubmitEvent
impl IUnityEvent_1<Il2CppString> for InputField_SubmitEvent
fn m_invoke_array(self) -> Array<Object>
fn set_m_invoke_array(self, value: Array<Object>)
Source§impl IUnityEvent_1<Il2CppString> for TMP_InputField_OnChangeEvent
impl IUnityEvent_1<Il2CppString> for TMP_InputField_OnChangeEvent
fn m_invoke_array(self) -> Array<Object>
fn set_m_invoke_array(self, value: Array<Object>)
Source§impl IUnityEvent_1<Il2CppString> for TMP_InputField_SelectionEvent
impl IUnityEvent_1<Il2CppString> for TMP_InputField_SelectionEvent
fn m_invoke_array(self) -> Array<Object>
fn set_m_invoke_array(self, value: Array<Object>)
Source§impl IUnityEvent_1<Il2CppString> for TMP_InputField_SubmitEvent
impl IUnityEvent_1<Il2CppString> for TMP_InputField_SubmitEvent
fn m_invoke_array(self) -> Array<Object>
fn set_m_invoke_array(self, value: Array<Object>)
Source§impl IUnityEvent_3<Il2CppString, i32, i32> for TMP_InputField_TextSelectionEvent
impl IUnityEvent_3<Il2CppString, i32, i32> for TMP_InputField_TextSelectionEvent
fn m_invoke_array(self) -> Array<Object>
fn set_m_invoke_array(self, value: Array<Object>)
§impl IlType for Il2CppString
impl IlType for Il2CppString
§impl PartialEq for Il2CppString
impl PartialEq for Il2CppString
§fn eq(&self, other: &Il2CppString) -> bool
fn eq(&self, other: &Il2CppString) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Il2CppString
impl Eq for Il2CppString
impl IEqualityComparer_1<Il2CppString> for InternalStringComparer
impl IEqualityComparer_1<Il2CppString> for NonRandomizedStringEqualityComparer
impl IIl2CppString for Il2CppString
impl ISearchResultHandler_1<Il2CppString> for StringResultHandler
Auto Trait Implementations§
impl Freeze for Il2CppString
impl RefUnwindSafe for Il2CppString
impl !Send for Il2CppString
impl !Sync for Il2CppString
impl Unpin for Il2CppString
impl UnwindSafe for Il2CppString
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Cast for Twhere
T: SystemObject,
impl<T> Cast for Twhere
T: SystemObject,
fn get_class(self) -> Class
fn is_null(self) -> bool
fn rebind_class(self, new_class: Class)
fn override_class(self) -> Class
fn is_instance_of<T>(self) -> boolwhere
T: ClassIdentity,
fn is_direct_subclass_of<T>(self) -> boolwhere
T: ClassIdentity,
fn try_cast<T>(self) -> Option<T>where
T: ClassIdentity + FromIlInstance,
§unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
Safety Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)