pub trait IStringCollectionMethods: IStringCollection {
Show 24 methods
// Provided methods
fn get_item(self, index: impl Into<i32>) -> Il2CppString { ... }
fn set_item(self, index: impl Into<i32>, value: impl Into<Il2CppString>) { ... }
fn get_count(self) -> i32 { ... }
fn system_collections_i_list_get_is_read_only(self) -> bool { ... }
fn add(self, value: impl Into<Il2CppString>) -> i32 { ... }
fn clear(self) { ... }
fn contains(self, value: impl Into<Il2CppString>) -> bool { ... }
fn copy_to(
self,
array: impl Into<Array<Il2CppString>>,
index: impl Into<i32>,
) { ... }
fn index_of(self, value: impl Into<Il2CppString>) -> i32 { ... }
fn insert(self, index: impl Into<i32>, value: impl Into<Il2CppString>) { ... }
fn get_is_synchronized(self) -> bool { ... }
fn remove(self, value: impl Into<Il2CppString>) { ... }
fn remove_at(self, index: impl Into<i32>) { ... }
fn get_sync_root(self) -> Object { ... }
fn system_collections_i_list_get_item(self, index: impl Into<i32>) -> Object { ... }
fn system_collections_i_list_set_item(
self,
index: impl Into<i32>,
value: impl Into<Object>,
) { ... }
fn system_collections_i_list_add(self, value: impl Into<Object>) -> i32 { ... }
fn system_collections_i_list_contains(
self,
value: impl Into<Object>,
) -> bool { ... }
fn system_collections_i_list_index_of(self, value: impl Into<Object>) -> i32 { ... }
fn system_collections_i_list_insert(
self,
index: impl Into<i32>,
value: impl Into<Object>,
) { ... }
fn system_collections_i_list_remove(self, value: impl Into<Object>) { ... }
fn system_collections_i_collection_copy_to(
self,
array: impl Into<IlInstance>,
index: impl Into<i32>,
) { ... }
fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_item(self, index: impl Into<i32>) -> Il2CppString
fn get_item(self, index: impl Into<i32>) -> Il2CppString
get_Item(i32) overload
Sourcefn set_item(self, index: impl Into<i32>, value: impl Into<Il2CppString>)
fn set_item(self, index: impl Into<i32>, value: impl Into<Il2CppString>)
set_Item(i32, ::unity::Il2CppString) overload
Sourcefn system_collections_i_list_get_is_read_only(self) -> bool
fn system_collections_i_list_get_is_read_only(self) -> bool
System.Collections.IList.get_IsReadOnly() overload
Sourcefn add(self, value: impl Into<Il2CppString>) -> i32
fn add(self, value: impl Into<Il2CppString>) -> i32
Add(::unity::Il2CppString) overload
Sourcefn contains(self, value: impl Into<Il2CppString>) -> bool
fn contains(self, value: impl Into<Il2CppString>) -> bool
Contains(::unity::Il2CppString) overload
Sourcefn copy_to(self, array: impl Into<Array<Il2CppString>>, index: impl Into<i32>)
fn copy_to(self, array: impl Into<Array<Il2CppString>>, index: impl Into<i32>)
CopyTo(::unity::Array<::unity::Il2CppString>, i32) overload
Sourcefn index_of(self, value: impl Into<Il2CppString>) -> i32
fn index_of(self, value: impl Into<Il2CppString>) -> i32
IndexOf(::unity::Il2CppString) overload
Sourcefn insert(self, index: impl Into<i32>, value: impl Into<Il2CppString>)
fn insert(self, index: impl Into<i32>, value: impl Into<Il2CppString>)
Insert(i32, ::unity::Il2CppString) overload
Sourcefn get_is_synchronized(self) -> bool
fn get_is_synchronized(self) -> bool
get_IsSynchronized() overload
Sourcefn remove(self, value: impl Into<Il2CppString>)
fn remove(self, value: impl Into<Il2CppString>)
Remove(::unity::Il2CppString) overload
Sourcefn get_sync_root(self) -> Object
fn get_sync_root(self) -> Object
get_SyncRoot() overload
Sourcefn system_collections_i_list_get_item(self, index: impl Into<i32>) -> Object
fn system_collections_i_list_get_item(self, index: impl Into<i32>) -> Object
System.Collections.IList.get_Item(i32) overload
Sourcefn system_collections_i_list_set_item(
self,
index: impl Into<i32>,
value: impl Into<Object>,
)
fn system_collections_i_list_set_item( self, index: impl Into<i32>, value: impl Into<Object>, )
System.Collections.IList.set_Item(i32, crate::system::object::Object) overload
Sourcefn system_collections_i_list_add(self, value: impl Into<Object>) -> i32
fn system_collections_i_list_add(self, value: impl Into<Object>) -> i32
System.Collections.IList.Add(crate::system::object::Object) overload
Sourcefn system_collections_i_list_contains(self, value: impl Into<Object>) -> bool
fn system_collections_i_list_contains(self, value: impl Into<Object>) -> bool
System.Collections.IList.Contains(crate::system::object::Object) overload
Sourcefn system_collections_i_list_index_of(self, value: impl Into<Object>) -> i32
fn system_collections_i_list_index_of(self, value: impl Into<Object>) -> i32
System.Collections.IList.IndexOf(crate::system::object::Object) overload
Sourcefn system_collections_i_list_insert(
self,
index: impl Into<i32>,
value: impl Into<Object>,
)
fn system_collections_i_list_insert( self, index: impl Into<i32>, value: impl Into<Object>, )
System.Collections.IList.Insert(i32, crate::system::object::Object) overload
Sourcefn system_collections_i_list_remove(self, value: impl Into<Object>)
fn system_collections_i_list_remove(self, value: impl Into<Object>)
System.Collections.IList.Remove(crate::system::object::Object) overload
Sourcefn system_collections_i_collection_copy_to(
self,
array: impl Into<IlInstance>,
index: impl Into<i32>,
)
fn system_collections_i_collection_copy_to( self, array: impl Into<IlInstance>, index: impl Into<i32>, )
System.Collections.ICollection.CopyTo(::unity::IlInstance, i32) overload
Sourcefn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator
fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator
System.Collections.IEnumerable.GetEnumerator() overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IStringCollection> IStringCollectionMethods for __T
system-collections-specialized-stringcollection only.