pub trait INameObjectCollectionBaseMethods: INameObjectCollectionBase {
Show 19 methods
// Provided methods
fn ctor(self) { ... }
fn ctor_2(self, equality_comparer: impl Into<IEqualityComparer>) { ... }
fn ctor_3(
self,
capacity: impl Into<i32>,
equality_comparer: impl Into<IEqualityComparer>,
) { ... }
fn on_deserialization(self, sender: impl Into<Object>) { ... }
fn reset(self) { ... }
fn reset_2(self, capacity: impl Into<i32>) { ... }
fn find_entry(
self,
key: impl Into<Il2CppString>,
) -> NameObjectCollectionBase_NameObjectEntry { ... }
fn get_is_read_only(self) -> bool { ... }
fn base_add(self, name: impl Into<Il2CppString>, value: impl Into<Object>) { ... }
fn base_remove(self, name: impl Into<Il2CppString>) { ... }
fn base_get(self, name: impl Into<Il2CppString>) -> Object { ... }
fn base_set(self, name: impl Into<Il2CppString>, value: impl Into<Object>) { ... }
fn base_get_2(self, index: impl Into<i32>) -> Object { ... }
fn base_get_key(self, index: impl Into<i32>) -> Il2CppString { ... }
fn get_enumerator(self) -> IEnumerator { ... }
fn get_count(self) -> i32 { ... }
fn system_collections_i_collection_copy_to(
self,
array: impl Into<IlInstance>,
index: impl Into<i32>,
) { ... }
fn system_collections_i_collection_get_sync_root(self) -> Object { ... }
fn system_collections_i_collection_get_is_synchronized(self) -> bool { ... }
}Provided Methods§
Sourcefn ctor_2(self, equality_comparer: impl Into<IEqualityComparer>)
fn ctor_2(self, equality_comparer: impl Into<IEqualityComparer>)
.ctor(crate::system::collections::iequalitycomparer::IEqualityComparer) overload
Sourcefn ctor_3(
self,
capacity: impl Into<i32>,
equality_comparer: impl Into<IEqualityComparer>,
)
fn ctor_3( self, capacity: impl Into<i32>, equality_comparer: impl Into<IEqualityComparer>, )
.ctor(i32, crate::system::collections::iequalitycomparer::IEqualityComparer) overload
Sourcefn on_deserialization(self, sender: impl Into<Object>)
fn on_deserialization(self, sender: impl Into<Object>)
OnDeserialization(crate::system::object::Object) overload
Sourcefn find_entry(
self,
key: impl Into<Il2CppString>,
) -> NameObjectCollectionBase_NameObjectEntry
fn find_entry( self, key: impl Into<Il2CppString>, ) -> NameObjectCollectionBase_NameObjectEntry
FindEntry(::unity::Il2CppString) overload
Sourcefn get_is_read_only(self) -> bool
fn get_is_read_only(self) -> bool
get_IsReadOnly() overload
Sourcefn base_add(self, name: impl Into<Il2CppString>, value: impl Into<Object>)
fn base_add(self, name: impl Into<Il2CppString>, value: impl Into<Object>)
BaseAdd(::unity::Il2CppString, crate::system::object::Object) overload
Sourcefn base_remove(self, name: impl Into<Il2CppString>)
fn base_remove(self, name: impl Into<Il2CppString>)
BaseRemove(::unity::Il2CppString) overload
Sourcefn base_get(self, name: impl Into<Il2CppString>) -> Object
fn base_get(self, name: impl Into<Il2CppString>) -> Object
BaseGet(::unity::Il2CppString) overload
Sourcefn base_set(self, name: impl Into<Il2CppString>, value: impl Into<Object>)
fn base_set(self, name: impl Into<Il2CppString>, value: impl Into<Object>)
BaseSet(::unity::Il2CppString, crate::system::object::Object) overload
Sourcefn base_get_2(self, index: impl Into<i32>) -> Object
fn base_get_2(self, index: impl Into<i32>) -> Object
BaseGet(i32) overload
Sourcefn base_get_key(self, index: impl Into<i32>) -> Il2CppString
fn base_get_key(self, index: impl Into<i32>) -> Il2CppString
BaseGetKey(i32) overload
Sourcefn get_enumerator(self) -> IEnumerator
fn get_enumerator(self) -> IEnumerator
GetEnumerator() 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_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_get_is_synchronized(self) -> bool
fn system_collections_i_collection_get_is_synchronized(self) -> bool
System.Collections.ICollection.get_IsSynchronized() 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: INameObjectCollectionBase> INameObjectCollectionBaseMethods for __T
system-collections-specialized-nameobjectcollectionbase only.