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§
Sourcefn get_inner_list(self) -> ArrayList
fn get_inner_list(self) -> ArrayList
get_InnerList() 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 system_collections_i_collection_get_is_synchronized(self) -> bool
fn system_collections_i_collection_get_is_synchronized(self) -> bool
System.Collections.ICollection.get_IsSynchronized() overload
Sourcefn system_collections_i_collection_get_sync_root(self) -> Object
fn system_collections_i_collection_get_sync_root(self) -> Object
System.Collections.ICollection.get_SyncRoot() 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_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_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_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_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_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 get_enumerator(self) -> IEnumerator
fn get_enumerator(self) -> IEnumerator
GetEnumerator() overload
Sourcefn on_set(
self,
index: impl Into<i32>,
old_value: impl Into<Object>,
new_value: impl Into<Object>,
)
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
Sourcefn on_insert(self, index: impl Into<i32>, value: impl Into<Object>)
fn on_insert(self, index: impl Into<i32>, value: impl Into<Object>)
OnInsert(i32, crate::system::object::Object) overload
Sourcefn on_remove(self, index: impl Into<i32>, value: impl Into<Object>)
fn on_remove(self, index: impl Into<i32>, value: impl Into<Object>)
OnRemove(i32, crate::system::object::Object) overload
Sourcefn on_validate(self, value: impl Into<Object>)
fn on_validate(self, value: impl Into<Object>)
OnValidate(crate::system::object::Object) overload
Sourcefn on_set_complete(
self,
index: impl Into<i32>,
old_value: impl Into<Object>,
new_value: impl Into<Object>,
)
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
Sourcefn on_insert_complete(self, index: impl Into<i32>, value: impl Into<Object>)
fn on_insert_complete(self, index: impl Into<i32>, value: impl Into<Object>)
OnInsertComplete(i32, crate::system::object::Object) overload
Sourcefn on_clear_complete(self)
fn on_clear_complete(self)
OnClearComplete() overload
Sourcefn on_remove_complete(self, index: impl Into<i32>, value: impl Into<Object>)
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§
impl<__T: ICollectionBase> ICollectionBaseMethods for __T
system-collections-collectionbase only.