Skip to main content

IDictionary_2Methods

Trait IDictionary_2Methods 

Source
pub trait IDictionary_2Methods<T0: ClassIdentity, T1: ClassIdentity>: ClassIdentity {
Show 41 methods // Provided methods fn ctor(self) where Self: Sized { ... } fn ctor_2(self, capacity: i32) where Self: Sized { ... } fn ctor_3(self, comparer: IEqualityComparer_1_Interface<T0>) where Self: Sized { ... } fn ctor_4(self, capacity: i32, comparer: IEqualityComparer_1_Interface<T0>) where Self: Sized { ... } fn ctor_5(self, dictionary: IDictionary_2_Interface<T0, T1>) where Self: Sized { ... } fn ctor_6( self, dictionary: IDictionary_2_Interface<T0, T1>, comparer: IEqualityComparer_1_Interface<T0>, ) where Self: Sized { ... } fn get_count(self) -> i32 where Self: Sized { ... } fn get_keys(self) -> Dictionary_2_KeyCollection<T0, T1> where Self: Sized { ... } fn get_values(self) -> Dictionary_2_ValueCollection<T0, T1> where Self: Sized { ... } fn get_item(self, key: T0) -> T1 where Self: Sized { ... } fn set_item(self, key: T0, value: T1) where Self: Sized { ... } fn add(self, key: T0, value: T1) where Self: Sized { ... } fn clear(self) where Self: Sized { ... } fn contains_key(self, key: T0) -> bool where Self: Sized { ... } fn contains_value(self, value: T1) -> bool where Self: Sized { ... } fn copy_to(self, array: Array<KeyValuePair_2<T0, T1>>, index: i32) where Self: Sized { ... } fn get_enumerator(self) -> Dictionary_2_Enumerator<T0, T1> where Self: Sized { ... } fn find_entry(self, key: T0) -> i32 where Self: Sized { ... } fn initialize(self, capacity: i32) where Self: Sized { ... } fn try_insert(self, key: T0, value: T1, behavior: InsertionBehavior) -> bool where Self: Sized { ... } fn on_deserialization(self, sender: Object) where Self: Sized { ... } fn resize(self) where Self: Sized { ... } fn resize_2(self, new_size: i32, force_new_hash_codes: bool) where Self: Sized { ... } fn remove(self, key: T0) -> bool where Self: Sized { ... } fn try_get_value(self, key: T0) -> (bool, T1) where Self: Sized { ... } fn try_add(self, key: T0, value: T1) -> bool where Self: Sized { ... } fn system_collections_i_collection_copy_to( self, array: IlInstance, index: i32, ) where Self: Sized { ... } fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator where Self: Sized { ... } fn system_collections_i_collection_get_is_synchronized(self) -> bool where Self: Sized { ... } fn system_collections_i_collection_get_sync_root(self) -> Object where Self: Sized { ... } fn system_collections_i_dictionary_get_is_fixed_size(self) -> bool where Self: Sized { ... } fn system_collections_i_dictionary_get_is_read_only(self) -> bool where Self: Sized { ... } fn system_collections_i_dictionary_get_keys(self) -> ICollection where Self: Sized { ... } fn system_collections_i_dictionary_get_values(self) -> ICollection where Self: Sized { ... } fn system_collections_i_dictionary_get_item(self, key: Object) -> Object where Self: Sized { ... } fn system_collections_i_dictionary_set_item( self, key: Object, value: Object, ) where Self: Sized { ... } fn is_compatible_key(key: Object) -> bool { ... } fn system_collections_i_dictionary_add(self, key: Object, value: Object) where Self: Sized { ... } fn system_collections_i_dictionary_contains(self, key: Object) -> bool where Self: Sized { ... } fn system_collections_i_dictionary_get_enumerator( self, ) -> IDictionaryEnumerator where Self: Sized { ... } fn system_collections_i_dictionary_remove(self, key: Object) where Self: Sized { ... }
}

Provided Methods§

Source

fn ctor(self)
where Self: Sized,

Source

fn ctor_2(self, capacity: i32)
where Self: Sized,

Source

fn ctor_3(self, comparer: IEqualityComparer_1_Interface<T0>)
where Self: Sized,

Source

fn ctor_4(self, capacity: i32, comparer: IEqualityComparer_1_Interface<T0>)
where Self: Sized,

Source

fn ctor_5(self, dictionary: IDictionary_2_Interface<T0, T1>)
where Self: Sized,

Source

fn ctor_6( self, dictionary: IDictionary_2_Interface<T0, T1>, comparer: IEqualityComparer_1_Interface<T0>, )
where Self: Sized,

Source

fn get_count(self) -> i32
where Self: Sized,

Source

fn get_keys(self) -> Dictionary_2_KeyCollection<T0, T1>
where Self: Sized,

Source

fn get_values(self) -> Dictionary_2_ValueCollection<T0, T1>
where Self: Sized,

Source

fn get_item(self, key: T0) -> T1
where Self: Sized,

Source

fn set_item(self, key: T0, value: T1)
where Self: Sized,

Source

fn add(self, key: T0, value: T1)
where Self: Sized,

Source

fn clear(self)
where Self: Sized,

Source

fn contains_key(self, key: T0) -> bool
where Self: Sized,

Source

fn contains_value(self, value: T1) -> bool
where Self: Sized,

Source

fn copy_to(self, array: Array<KeyValuePair_2<T0, T1>>, index: i32)
where Self: Sized,

Source

fn get_enumerator(self) -> Dictionary_2_Enumerator<T0, T1>
where Self: Sized,

Source

fn find_entry(self, key: T0) -> i32
where Self: Sized,

Source

fn initialize(self, capacity: i32)
where Self: Sized,

Source

fn try_insert(self, key: T0, value: T1, behavior: InsertionBehavior) -> bool
where Self: Sized,

Source

fn on_deserialization(self, sender: Object)
where Self: Sized,

Source

fn resize(self)
where Self: Sized,

Source

fn resize_2(self, new_size: i32, force_new_hash_codes: bool)
where Self: Sized,

Source

fn remove(self, key: T0) -> bool
where Self: Sized,

Source

fn try_get_value(self, key: T0) -> (bool, T1)
where Self: Sized,

Source

fn try_add(self, key: T0, value: T1) -> bool
where Self: Sized,

Source

fn system_collections_i_collection_copy_to(self, array: IlInstance, index: i32)
where Self: Sized,

Source

fn system_collections_i_enumerable_get_enumerator(self) -> IEnumerator
where Self: Sized,

Source

fn system_collections_i_collection_get_is_synchronized(self) -> bool
where Self: Sized,

Source

fn system_collections_i_collection_get_sync_root(self) -> Object
where Self: Sized,

Source

fn system_collections_i_dictionary_get_is_fixed_size(self) -> bool
where Self: Sized,

Source

fn system_collections_i_dictionary_get_is_read_only(self) -> bool
where Self: Sized,

Source

fn system_collections_i_dictionary_get_keys(self) -> ICollection
where Self: Sized,

Source

fn system_collections_i_dictionary_get_values(self) -> ICollection
where Self: Sized,

Source

fn system_collections_i_dictionary_get_item(self, key: Object) -> Object
where Self: Sized,

Source

fn system_collections_i_dictionary_set_item(self, key: Object, value: Object)
where Self: Sized,

Source

fn is_compatible_key(key: Object) -> bool

Source

fn system_collections_i_dictionary_add(self, key: Object, value: Object)
where Self: Sized,

Source

fn system_collections_i_dictionary_contains(self, key: Object) -> bool
where Self: Sized,

Source

fn system_collections_i_dictionary_get_enumerator(self) -> IDictionaryEnumerator
where Self: Sized,

Source

fn system_collections_i_dictionary_remove(self, key: Object)
where Self: Sized,

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§