Skip to main content

IStringCollectionMethods

Trait IStringCollectionMethods 

Source
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§

Source

fn get_item(self, index: impl Into<i32>) -> Il2CppString

get_Item(i32) overload

Source

fn set_item(self, index: impl Into<i32>, value: impl Into<Il2CppString>)

set_Item(i32, ::unity::Il2CppString) overload

Source

fn get_count(self) -> i32

get_Count() overload

Source

fn system_collections_i_list_get_is_read_only(self) -> bool

System.Collections.IList.get_IsReadOnly() overload

Source

fn add(self, value: impl Into<Il2CppString>) -> i32

Add(::unity::Il2CppString) overload

Source

fn clear(self)

Clear() overload

Source

fn contains(self, value: impl Into<Il2CppString>) -> bool

Contains(::unity::Il2CppString) overload

Source

fn copy_to(self, array: impl Into<Array<Il2CppString>>, index: impl Into<i32>)

CopyTo(::unity::Array<::unity::Il2CppString>, i32) overload

Source

fn index_of(self, value: impl Into<Il2CppString>) -> i32

IndexOf(::unity::Il2CppString) overload

Source

fn insert(self, index: impl Into<i32>, value: impl Into<Il2CppString>)

Insert(i32, ::unity::Il2CppString) overload

Source

fn get_is_synchronized(self) -> bool

get_IsSynchronized() overload

Source

fn remove(self, value: impl Into<Il2CppString>)

Remove(::unity::Il2CppString) overload

Source

fn remove_at(self, index: impl Into<i32>)

RemoveAt(i32) overload

Source

fn get_sync_root(self) -> Object

get_SyncRoot() overload

Source

fn system_collections_i_list_get_item(self, index: impl Into<i32>) -> Object

System.Collections.IList.get_Item(i32) overload

Source

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

Source

fn system_collections_i_list_add(self, value: impl Into<Object>) -> i32

System.Collections.IList.Add(crate::system::object::Object) overload

Source

fn system_collections_i_list_contains(self, value: impl Into<Object>) -> bool

System.Collections.IList.Contains(crate::system::object::Object) overload

Source

fn system_collections_i_list_index_of(self, value: impl Into<Object>) -> i32

System.Collections.IList.IndexOf(crate::system::object::Object) overload

Source

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

Source

fn system_collections_i_list_remove(self, value: impl Into<Object>)

System.Collections.IList.Remove(crate::system::object::Object) overload

Source

fn system_collections_i_collection_copy_to( self, array: impl Into<IlInstance>, index: impl Into<i32>, )

System.Collections.ICollection.CopyTo(::unity::IlInstance, i32) overload

Source

fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator

System.Collections.IEnumerable.GetEnumerator() overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: IStringCollection> IStringCollectionMethods for __T

Available on crate feature system-collections-specialized-stringcollection only.