Skip to main content

ICollectionBaseMethods

Trait ICollectionBaseMethods 

Source
pub trait ICollectionBaseMethods: ICollectionBase {
Show 27 methods // Provided methods fn ctor(self) { ... } fn get_inner_list(self) -> ArrayList { ... } fn get_list(self) -> IList { ... } fn get_count(self) -> i32 { ... } fn clear(self) { ... } fn remove_at(self, index: impl Into<i32>) { ... } fn system_collections_i_list_get_is_read_only(self) -> bool { ... } fn system_collections_i_collection_get_is_synchronized(self) -> bool { ... } fn system_collections_i_collection_get_sync_root(self) -> Object { ... } fn system_collections_i_collection_copy_to( self, array: impl Into<IlInstance>, index: impl Into<i32>, ) { ... } 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_contains( self, value: impl Into<Object>, ) -> bool { ... } fn system_collections_i_list_add(self, value: impl Into<Object>) -> i32 { ... } fn system_collections_i_list_remove(self, value: impl Into<Object>) { ... } 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 get_enumerator(self) -> IEnumerator { ... } fn on_set( self, index: impl Into<i32>, old_value: impl Into<Object>, new_value: impl Into<Object>, ) { ... } fn on_insert(self, index: impl Into<i32>, value: impl Into<Object>) { ... } fn on_clear(self) { ... } fn on_remove(self, index: impl Into<i32>, value: impl Into<Object>) { ... } fn on_validate(self, value: impl Into<Object>) { ... } fn on_set_complete( self, index: impl Into<i32>, old_value: impl Into<Object>, new_value: impl Into<Object>, ) { ... } fn on_insert_complete(self, index: impl Into<i32>, value: impl Into<Object>) { ... } fn on_clear_complete(self) { ... } fn on_remove_complete(self, index: impl Into<i32>, value: impl Into<Object>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn get_inner_list(self) -> ArrayList

get_InnerList() overload

Source

fn get_list(self) -> IList

get_List() overload

Source

fn get_count(self) -> i32

get_Count() overload

Source

fn clear(self)

Clear() overload

Source

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

RemoveAt(i32) overload

Source

fn system_collections_i_list_get_is_read_only(self) -> bool

System.Collections.IList.get_IsReadOnly() overload

Source

fn system_collections_i_collection_get_is_synchronized(self) -> bool

System.Collections.ICollection.get_IsSynchronized() overload

Source

fn system_collections_i_collection_get_sync_root(self) -> Object

System.Collections.ICollection.get_SyncRoot() 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_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_contains(self, value: impl Into<Object>) -> bool

System.Collections.IList.Contains(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_remove(self, value: impl Into<Object>)

System.Collections.IList.Remove(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 get_enumerator(self) -> IEnumerator

GetEnumerator() overload

Source

fn on_set( self, index: impl Into<i32>, old_value: impl Into<Object>, new_value: impl Into<Object>, )

OnSet(i32, crate::system::object::Object, crate::system::object::Object) overload

Source

fn on_insert(self, index: impl Into<i32>, value: impl Into<Object>)

OnInsert(i32, crate::system::object::Object) overload

Source

fn on_clear(self)

OnClear() overload

Source

fn on_remove(self, index: impl Into<i32>, value: impl Into<Object>)

OnRemove(i32, crate::system::object::Object) overload

Source

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

OnValidate(crate::system::object::Object) overload

Source

fn on_set_complete( self, index: impl Into<i32>, old_value: impl Into<Object>, new_value: impl Into<Object>, )

OnSetComplete(i32, crate::system::object::Object, crate::system::object::Object) overload

Source

fn on_insert_complete(self, index: impl Into<i32>, value: impl Into<Object>)

OnInsertComplete(i32, crate::system::object::Object) overload

Source

fn on_clear_complete(self)

OnClearComplete() overload

Source

fn on_remove_complete(self, index: impl Into<i32>, value: impl Into<Object>)

OnRemoveComplete(i32, crate::system::object::Object) 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: ICollectionBase> ICollectionBaseMethods for __T

Available on crate feature system-collections-collectionbase only.