Skip to main content

IHashtableMethods

Trait IHashtableMethods 

Source
pub trait IHashtableMethods: IHashtable {
Show 40 methods // Provided methods fn ctor(self, trash: impl Into<bool>) { ... } fn ctor_2(self) { ... } fn ctor_3(self, capacity: impl Into<i32>) { ... } fn ctor_4(self, capacity: impl Into<i32>, load_factor: impl Into<f32>) { ... } fn ctor_5( self, capacity: impl Into<i32>, load_factor: impl Into<f32>, hcp: impl Into<IHashCodeProvider>, comparer: impl Into<IComparer_Interface>, ) { ... } fn ctor_6( self, capacity: impl Into<i32>, load_factor: impl Into<f32>, equality_comparer: impl Into<IEqualityComparer>, ) { ... } fn ctor_7( self, hcp: impl Into<IHashCodeProvider>, comparer: impl Into<IComparer_Interface>, ) { ... } fn ctor_8(self, equality_comparer: impl Into<IEqualityComparer>) { ... } fn ctor_9( self, capacity: impl Into<i32>, equality_comparer: impl Into<IEqualityComparer>, ) { ... } fn init_hash( self, key: impl Into<Object>, hashsize: impl Into<i32>, ) -> (u32, u32, u32) { ... } fn add(self, key: impl Into<Object>, value: impl Into<Object>) { ... } fn clear(self) { ... } fn clone(self) -> Object { ... } fn contains(self, key: impl Into<Object>) -> bool { ... } fn contains_key(self, key: impl Into<Object>) -> bool { ... } fn copy_keys( self, array: impl Into<IlInstance>, array_index: impl Into<i32>, ) { ... } fn copy_entries( self, array: impl Into<IlInstance>, array_index: impl Into<i32>, ) { ... } fn copy_to(self, array: impl Into<IlInstance>, array_index: impl Into<i32>) { ... } fn copy_values( self, array: impl Into<IlInstance>, array_index: impl Into<i32>, ) { ... } fn get_item(self, key: impl Into<Object>) -> Object { ... } fn set_item(self, key: impl Into<Object>, value: impl Into<Object>) { ... } fn expand(self) { ... } fn rehash(self) { ... } fn update_version(self) { ... } fn rehash_2( self, newsize: impl Into<i32>, force_new_hash_code: impl Into<bool>, ) { ... } fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator { ... } fn get_enumerator(self) -> IDictionaryEnumerator { ... } fn get_hash(self, key: impl Into<Object>) -> i32 { ... } fn get_is_read_only(self) -> bool { ... } fn get_is_fixed_size(self) -> bool { ... } fn get_is_synchronized(self) -> bool { ... } fn key_equals(self, item: impl Into<Object>, key: impl Into<Object>) -> bool { ... } fn get_keys(self) -> ICollection { ... } fn get_values(self) -> ICollection { ... } fn insert( self, key: impl Into<Object>, nvalue: impl Into<Object>, add: impl Into<bool>, ) { ... } fn put_entry( self, new_buckets: impl Into<Array<Hashtable_bucket>>, key: impl Into<Object>, nvalue: impl Into<Object>, hashcode: impl Into<i32>, ) { ... } fn remove(self, key: impl Into<Object>) { ... } fn get_sync_root(self) -> Object { ... } fn get_count(self) -> i32 { ... } fn on_deserialization(self, sender: impl Into<Object>) { ... }
}

Provided Methods§

Source

fn ctor(self, trash: impl Into<bool>)

.ctor(bool) overload

Source

fn ctor_2(self)

.ctor() overload

Source

fn ctor_3(self, capacity: impl Into<i32>)

.ctor(i32) overload

Source

fn ctor_4(self, capacity: impl Into<i32>, load_factor: impl Into<f32>)

.ctor(i32, f32) overload

Source

fn ctor_5( self, capacity: impl Into<i32>, load_factor: impl Into<f32>, hcp: impl Into<IHashCodeProvider>, comparer: impl Into<IComparer_Interface>, )

.ctor(i32, f32, crate::system::collections::ihashcodeprovider::IHashCodeProvider, crate::system::collections::icomparer_interface::IComparer_Interface) overload

Source

fn ctor_6( self, capacity: impl Into<i32>, load_factor: impl Into<f32>, equality_comparer: impl Into<IEqualityComparer>, )

.ctor(i32, f32, crate::system::collections::iequalitycomparer::IEqualityComparer) overload

Source

fn ctor_7( self, hcp: impl Into<IHashCodeProvider>, comparer: impl Into<IComparer_Interface>, )

.ctor(crate::system::collections::ihashcodeprovider::IHashCodeProvider, crate::system::collections::icomparer_interface::IComparer_Interface) overload

Source

fn ctor_8(self, equality_comparer: impl Into<IEqualityComparer>)

.ctor(crate::system::collections::iequalitycomparer::IEqualityComparer) overload

Source

fn ctor_9( self, capacity: impl Into<i32>, equality_comparer: impl Into<IEqualityComparer>, )

.ctor(i32, crate::system::collections::iequalitycomparer::IEqualityComparer) overload

Source

fn init_hash( self, key: impl Into<Object>, hashsize: impl Into<i32>, ) -> (u32, u32, u32)

InitHash(crate::system::object::Object, i32, *mutu32, *mutu32) overload

Source

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

Add(crate::system::object::Object, crate::system::object::Object) overload

Source

fn clear(self)

Clear() overload

Source

fn clone(self) -> Object

Clone() overload

Source

fn contains(self, key: impl Into<Object>) -> bool

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

Source

fn contains_key(self, key: impl Into<Object>) -> bool

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

Source

fn copy_keys(self, array: impl Into<IlInstance>, array_index: impl Into<i32>)

CopyKeys(::unity::IlInstance, i32) overload

Source

fn copy_entries(self, array: impl Into<IlInstance>, array_index: impl Into<i32>)

CopyEntries(::unity::IlInstance, i32) overload

Source

fn copy_to(self, array: impl Into<IlInstance>, array_index: impl Into<i32>)

CopyTo(::unity::IlInstance, i32) overload

Source

fn copy_values(self, array: impl Into<IlInstance>, array_index: impl Into<i32>)

CopyValues(::unity::IlInstance, i32) overload

Source

fn get_item(self, key: impl Into<Object>) -> Object

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

Source

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

set_Item(crate::system::object::Object, crate::system::object::Object) overload

Source

fn expand(self)

expand() overload

Source

fn rehash(self)

rehash() overload

Source

fn update_version(self)

UpdateVersion() overload

Source

fn rehash_2(self, newsize: impl Into<i32>, force_new_hash_code: impl Into<bool>)

rehash(i32, bool) overload

Source

fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator

System.Collections.IEnumerable.GetEnumerator() overload

Source

fn get_enumerator(self) -> IDictionaryEnumerator

GetEnumerator() overload

Source

fn get_hash(self, key: impl Into<Object>) -> i32

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

Source

fn get_is_read_only(self) -> bool

get_IsReadOnly() overload

Source

fn get_is_fixed_size(self) -> bool

get_IsFixedSize() overload

Source

fn get_is_synchronized(self) -> bool

get_IsSynchronized() overload

Source

fn key_equals(self, item: impl Into<Object>, key: impl Into<Object>) -> bool

KeyEquals(crate::system::object::Object, crate::system::object::Object) overload

Source

fn get_keys(self) -> ICollection

get_Keys() overload

Source

fn get_values(self) -> ICollection

get_Values() overload

Source

fn insert( self, key: impl Into<Object>, nvalue: impl Into<Object>, add: impl Into<bool>, )

Insert(crate::system::object::Object, crate::system::object::Object, bool) overload

Source

fn put_entry( self, new_buckets: impl Into<Array<Hashtable_bucket>>, key: impl Into<Object>, nvalue: impl Into<Object>, hashcode: impl Into<i32>, )

putEntry(::unity::Array<crate::system::collections::hashtable::Hashtable_bucket>, crate::system::object::Object, crate::system::object::Object, i32) overload

Source

fn remove(self, key: impl Into<Object>)

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

Source

fn get_sync_root(self) -> Object

get_SyncRoot() overload

Source

fn get_count(self) -> i32

get_Count() overload

Source

fn on_deserialization(self, sender: impl Into<Object>)

OnDeserialization(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: IHashtable> IHashtableMethods for __T

Available on crate feature system-collections-hashtable only.